Subscribe to multiple newsletter or push channels
POST /cms/channel/subscribe
POST
/cms/channel/subscribe
Subscribe an email to one or more newsletter or push channels. If the user is logged in (Token is sent), the email parameter is ignored, and no activation email is sent. For push channels, the push subscription details must be provided.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” One of:
object
channel_ids
Array<integer>
email
Email address to subscribe. If the user is logged in, this parameter is ignored.
string
sendActivation
Set to true to send activation email. Otherwise, the user is activated immediately. If the user is logged in, this parameter is ignored.
boolean
last_login_country
string
object
channel_ids
Array<integer>
pushSignature
Push subscription URL or token
string
clientVersion
Client application version
string
clientOS
Client operating system
string
clientOSVersion
Client operating system version
string
userAgent
User agent string
string
deviceId
Device identifier that you can uniquely generate or use from the user devices
string
Responses
Section titled “ Responses ”Subscription result
object
error
boolean