/v1/workspaces/{workspace_id}/contacts/{contact}/topicsAuthList a contact's topic subscriptions
Every topic of the workspace, with the contact's own choice and whether a topic send would reach it now (and why).
Path parameters
workspace_id*string · uuidId of the workspace.
contact*stringThe contact id, or its email address (URL-encoded).
Response · 200
contact_id*string · uuidThe contact these subscriptions belong to.
data*arrayEvery topic of the workspace with this contact's subscription to it.
Example
Request
GET https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/contacts/{contact}/topics
Authorization: Bearer YOUR_TOKENResponse
{
"contact_id": "00000000-0000-0000-0000-000000000000",
"data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"description": "string",
"default_subscription": {},
"visibility": {},
"subscription": {},
"subscribed": false,
"reason": {}
}
]
}