PATCH
/contacts/{contact_id}/topicsUpdate topics for a contactParameters
contact_idstringpathrequiredThe Contact ID or email address.
Request body
application/json
objectUpdateContactTopicsOptions
topicsarray of objectrequiredShow child attributes
Show array items
idstringThe ID of the topic.
subscriptionstringThe subscription status (opt_in or opt_out).
{
"topics": [
{
"id": "string",
"subscription": "opt_in"
}
]
}Responses
objectUpdateContactTopicsResponseSuccess
contact_idstringThe ID of the contact.
objectstringThe object type.
topicsarray of objectArray of updated topic subscriptions.
Show child attributes
Show array items
idstringThe ID of the topic.
subscriptionstringThe subscription status.
{
"contact_id": "string",
"object": "contact_topics",
"topics": [
{
"id": "string",
"subscription": "opt_in"
}
]
}