PATCH
/contacts/{contact_id}/topics
Update Contact Topics
Update topic subscription state for one contact.
Update topic subscription state for one contact.
curl -X PATCH "http://localhost:8080/v1/contacts/ct_123/topics" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"updates": [
{
"id": "top_123",
"subscribed": true
},
{
"id": "top_456",
"subscribed": false
}
]
}'
{
"id": "id_123"
}
{
"updates": [
{
"id": "top_123",
"subscribed": true
},
{
"id": "top_456",
"subscribed": false
}
]
}