Topics

List a contact's topic subscriptions

Retrieve a contact's effective subscription state for every active topic, cursor-paginated. Each row resolves the contact's explicit preference against the topic's default_opt_in, so subscribed is always the answer to "would this contact receive a campaign scoped to this topic?". Change a preference with Set a contact's topic preference. Requires the topics:read capability.

get/contacts/{id}/topics

Request

  • Base URL: https://www.unitpost.com/api/v1
  • URL: https://www.unitpost.com/api/v1/contacts/{id}/topics
  • Auth: HTTP bearer

Query parameters

limitinteger

Max rows to return (default 20, max 100).

afterstring

Return rows after this id (forward paging).

beforestring

Return rows before this id (backward paging).

Response

A page of the contact's topic subscriptions.

object'list' required
has_moreboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.