Skip to main content
Topics are reusable subscription groups that let you manage preferences separately from audiences.

Use topics when

  • A contact can opt in or out without leaving an audience
  • You want automations to subscribe or unsubscribe users from a preference
  • You need a stable API resource for notification categories

Common examples

  • product-updates
  • weekly-digest
  • shipping-alerts

Subscribe a contact

curl https://api.sendrealm.com/contacts/c671f89b-3ec1-4c58-9ad2-4ef8c2917cda/topics/8c3c4d0e-f7f3-4d7f-92ae-b1498f6a2fa9 \
  -X PUT \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "is_subscribed": true
  }'