set_contact_topics
Set explicit per-topic subscription states for a contact, choosing opt-in or opt-out for each topic, and receive the full updated list.
Instructions
Set a contact's explicit per-topic subscription states. topics is a list of { topicId, state } where state is opt_in or opt_out. Returns the full updated effective-state list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | No | Product/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender. | |
| topics | Yes | States to set, e.g. [{"topicId":"…","state":"opt_out"}]. | |
| contactId | Yes | Contact id. |