Get contacts related KPIs/totals

GET/services/{serviceUuid}/cds/kpi

Get contacts related KPIs/totals

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

list_uuidstring

Contact list UUID

Request example

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

Responses

KPI metrics/totals

application/json
contacts_totalinteger
optins_per_channelobject
Example response
{
  "contacts_total": 0,
  "optins_per_channel": {}
}