Segments

List segment members

Retrieve the contacts in a segment, cursor-paginated. Add a contact with Add a member or take one out with Remove a member. Requires the segments:read capability.

get/segments/{id}/contacts

Request

  • Base URL: https://www.unitpost.com/api/v1
  • URL: https://www.unitpost.com/api/v1/segments/{id}/contacts
  • 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 segment members.

object'list' required
has_moreboolean required

Changes

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