Create or Update Interest Member

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

Create or Update Interest 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

Interest Member to add or update

application/json
interest_uuidstringrequired
contact_uuidstringrequired

Request example

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

Responses

new Interest Member response

application/json
uuidstring
statusstring
interest_uuidstringrequired
interest_namestring
contact_uuidstringrequired
Example response
{
  "uuid": "string",
  "status": "string",
  "interest_uuid": "string",
  "interest_name": "string",
  "contact_uuid": "string"
}