You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Deprecations
Audiences deprecated in favor of Segments — All /audiences endpoints are now marked as deprecated. These endpoints still work but will be removed in a future version.
audience_id deprecated across Broadcasts, Segments, and Topics schemas. Use segment_id instead.
Breaking changes
Contacts endpoints no longer nested under audiences — Routes changed from /audiences/{audience_id}/contacts/... to /contacts/...:
POST /contacts — Create a contact (no longer requires audience_id path param)
GET /contacts — List contacts (now supports segment_id query filter + pagination)
GET /contacts/{id} — Retrieve contact by ID or email
PATCH /contacts/{id} — Update contact by ID or email
DELETE /contacts/{id} — Remove contact by ID or email
Contact segments endpoints changed from /audiences/{audience_id}/contacts/{id}/segments to /contacts/{contact_id}/segments:
GET /contacts/{contact_id}/segments — List segments for a contact
POST /contacts/{contact_id}/segments/{segment_id} — Add contact to segment (segment ID now in path instead of body)
DELETE /contacts/{contact_id}/segments/{segment_id} — Remove contact from segment
Contact topics endpoints changed from /audiences/{audience_id}/contacts/{id}/topics to /contacts/{contact_id}/topics
Removed duplicate contact endpoints — Consolidated separate by-email and by-id endpoints into single endpoints that accept either ID or email
audience_id removed as required field from CreateSegmentOptions
New features
Topic visibility — Topics now support visibility (public | private) and description fields
Topic default subscription — default_subscription (opt_in | opt_out) is now required when creating a topic and cannot be changed after creation
topic_id on emails — Send emails scoped to a topic; contacts are checked for opt-in/opt-out status
Inline image attachments — New content_id field on attachments for embedding images via cid: references
Domain capabilities — GetDomainResponseSuccess now includes a capabilities field
Pagination on contacts — GET /contacts now supports limit, after, and before pagination parameters