Subscribe

PUT /:account/contact_filters/:filter/contacts/subscribe

A User can subscribe a subset or all of their Contacts in a specific Contact Filter.

Examples

Subscribe a subset of Contacts in the ContactFilter

Request

PUT /my_account/contact_filters/all/contacts/subscribe

Body

{
  "contacts": ["/contacts/DQeeO69", "/contacts/oqb888D", "/contacts/qBB9gaG"]
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X PUT /my_account/contact_filters/all/contacts/subscribe
    -d '{
  "contacts": ["/contacts/DQeeO69", "/contacts/oqb888D", "/contacts/qBB9gaG"]
}'

Response

Status

202

Response Type

No body


© 2024 TextUs