Audience
Subscribe contact to topic
Subscribe a contact to a topic. Returns 201 if the subscription is new, or 200 if the contact was already subscribed. Requires the audience:write scope and is blocked for sandbox API keys.
post/audience/contacts/{contactId}/topics/{topicId}
Request
- Base URL: https://app.lettr.com/api
- URL: https://app.lettr.com/api/audience/contacts/{contactId}/topics/{topicId}
- Auth: HTTP bearer
Path parameters
contactIdstring uuid required
Contact ID
topicIdstring uuid required
Topic ID
Response
Contact was already subscribed
Example response
{
"message": "Contact subscribed to topic."
}Changes
No recorded changes to this operation across all 1 revision of this API.