Update Contact

PUT/services/{serviceUuid}/cds/groups/{groupId}

Update Contact

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

groupIdstringrequired

Group ID to update

Body required

Group

application/json
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

Request example

cURL · cURL
curl -L -X PUT "https://api-cpaas.sms.es/news/v1/services/{serviceUuid}/cds/groups/{groupId}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>" \
  --data-raw '{
  "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"
}'

Responses

Resource updated

application/json
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
Example response
{
  "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"
}