Skip to content

Subscribe to a newsletter or push channel

POST
/cms/channel/{channel_id}/subscribe

Subscribe an customer to a newsletter or push channel. 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.

channel_id
required
integer
One of:
object
email

Email address to subscribe. If the user is logged in, this parameter is ignored.

string
nullable
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
nullable
last_login_country
string
nullable

Subscription result

object
error
boolean