Creates new List

POST/services/{serviceUuid}/cds/lists

Creates new List

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

List to add

application/json
namestringrequired
max length: 30

Request example

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

Responses

new List response

application/json
uuidstring
namestring
descriptionstring
list_statusstring
Possible values: active, deleted
created_dtstring (date-time)
updated_dtstring (date-time)
subscribedinteger
unsubscribedinteger
webpush_subscribed_contactsinteger
webpush_unsubscribed_contactsinteger
total_contactsinteger
contacts_countinteger
last_import_dtstring (date-time)
last_campaign_dtstring (date-time)
Example response
{
  "uuid": "string",
  "name": "string",
  "description": "string",
  "list_status": "active",
  "created_dt": "2026-01-01T12:00:00Z",
  "updated_dt": "2026-01-01T12:00:00Z",
  "subscribed": 0,
  "unsubscribed": 0,
  "webpush_subscribed_contacts": 0,
  "webpush_unsubscribed_contacts": 0,
  "total_contacts": 0,
  "contacts_count": 0,
  "last_import_dt": "2026-01-01T12:00:00Z",
  "last_campaign_dt": "2026-01-01T12:00:00Z"
}