List segment contacts
Newest first, with cursor pagination: after takes the last id of a page and pages toward older items, before takes the first id and pages back toward newer ones.
/segments/{id}/contactsAuthorizationBearer 令牌 · header必填A BillionSend API key (bs_…).
idstring<uuid>必填limitintegerPage size, 1-100 (default 20)
afterstring<uuid>Cursor: id of the last item of the current page; returns the next page. Must be an id this list returned; there is no sentinel value.
beforestring<uuid>Cursor: id of the first item of the current page; returns the previous page; same rule as after.
includestringComma-separated facets attached to every item — properties (the {type, value} map GET /contacts/{id} returns) and topics (the rows GET /contacts/{id}/topics returns). Omitted, each item has only the contact fields.
Contacts the segment resolves to
objectstring必填listdataobject[]必填显示属性隐藏属性
object 数组idstring<uuid>必填emailstring必填first_namestring | null必填last_namestring | null必填created_atstring必填unsubscribedboolean必填Opt-out from every marketing send of the team, whichever domain sends. A recipient's own unsubscribe never sets it: that is recorded for the domain whose email carried the link (see unsubscribed_domains).
unsubscribed_domainsobject[]必填BillionSend extension: the domains this contact unsubscribed from through a link in their email. Marketing sends from those domains skip the contact; other domains still reach them. The team-wide opt-out is unsubscribed, not an entry here. Remove an entry with DELETE /unsubscribes/{id}.
显示属性隐藏属性
object 数组domain_idstring<uuid> | null必填Null when the domain has since been deleted from the team
namestring必填The domain's name
unsubscribed_atstring必填verification_statusstring | null必填BillionSend extension: the verdict of the contact's last deep verification (POST /verifications); null while it was never verified
validinvalidriskycatchallroledisposableunknownnullverified_atstring | null必填When the last deep verification finished; null while never verified
propertiesobjectPresent with include=properties
topicsobject[]Present with include=topics
显示属性隐藏属性
object 数组idstring<uuid>必填namestring必填descriptionstring | null必填subscriptionstring必填Effective choice: the contact's explicit one, else the topic's default
opt_inopt_outexplicitboolean必填True when the contact or the API chose this; false when it is the topic's default
visibilitystring必填The hosted preference page lists public topics only
publicprivatehas_moreboolean必填Missing, malformed, unknown or revoked API key
statusCodenumber必填namestring必填messagestring必填Not found
statusCodenumber必填namestring必填messagestring必填Validation error
statusCodenumber必填namestring必填messagestring必填Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumber必填namestring必填messagestring必填