Get list of groups

GET/services/{serviceUuid}/cds/groups

Get list of groups

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

Query parameters

page_numberinteger

Page number (default 1)

page_sizeinteger

Page size (default 10)

qstring

Query by a keyword

sortstring

Sort by field (name)

Possible values: name, -name, created_dt, -created_dt

Request example

cURL · cURL
curl -L -X GET "https://api-cpaas.sms.es/news/v1/services/{serviceUuid}/cds/groups" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

List of Groups

application/json
dataobject[]required
Show child attributes
uuidstring
namestringrequired
group_statusstring
Possible values: active, deleted
typestring
Possible values: static, dynamic
match_typestring
Possible values: all, any
list_uuidsstringrequired
segmentation_uuidsstring
created_dtstring (date-time)
updated_dtstring (date-time)
descriptionstring
metaobjectrequired
Show child attributes
paginationobjectrequired
Show child attributes
totalintegerrequired
countintegerrequired
perPageintegerrequired
currentPageintegerrequired
totalPagesintegerrequired
linksobjectrequired
Show child attributes
firststring
laststring
prevstring
nextstring
Example response
{
  "data": [
    {
      "uuid": "string",
      "name": "string",
      "group_status": "active",
      "type": "static",
      "match_type": "all",
      "list_uuids": "string",
      "segmentation_uuids": "string",
      "created_dt": "2026-01-01T12:00:00Z",
      "updated_dt": "2026-01-01T12:00:00Z",
      "description": "string"
    }
  ],
  "meta": {
    "pagination": {
      "total": 0,
      "count": 0,
      "perPage": 0,
      "currentPage": 0,
      "totalPages": 0,
      "links": {
        "first": "string",
        "last": "string",
        "prev": "string",
        "next": "string"
      }
    }
  }
}