Create or Update Subscription Member

POST/services/{serviceUuid}/cds/subscriptions/members

Create or Update Subscription Member

Base URL
https://api-cpaas.sms.es/news/v1
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

serviceUuidstringrequired

service (BM Account) UUID

Body required

Subscription Member to add

application/json
option_uuidstringrequired
contact_uuidstringrequired
statusstringrequired
Possible values: subscribed, unsubscribed

Request example

cURL · cURL
curl -L -X POST "https://api-cpaas.sms.es/news/v1/services/{serviceUuid}/cds/subscriptions/members" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>" \
  --data-raw '{
  "option_uuid": "string",
  "contact_uuid": "string",
  "status": "subscribed"
}'

Responses

new Member response

application/json
uuidstring
option_uuidstringrequired
option_namestring
subscription_uuidstring
subscription_namestring
contact_uuidstringrequired
statusstringrequired
Possible values: subscribed, unsubscribed
joined_dtstring (date-time)
updated_dtstring (date-time)
Example response
{
  "uuid": "string",
  "option_uuid": "string",
  "option_name": "string",
  "subscription_uuid": "string",
  "subscription_name": "string",
  "contact_uuid": "string",
  "status": "subscribed",
  "joined_dt": "2026-01-01T12:00:00Z",
  "updated_dt": "2026-01-01T12:00:00Z"
}