Create a segment
/segmentsAuthorizationJeton Bearer · headerrequisA BillionSend API key (bs_…).
application/jsonnamestringrequisdomain_idstring<uuid> | nullBillionSend extension: id of one of your domains. A broadcast to this segment must then be sent from that domain (422 otherwise), so an audience is never mailed under another brand or against another brand's opt-outs. null or omitted: a segment of the whole team, sendable from any domain. On update, null makes the segment a team-wide one again.
filterSegmentFilter | nullAfficher les propriétésMasquer les propriétés
matchstringrequisallanyconditionsobject[]requisAfficher les propriétésMasquer les propriétés
objectfieldstringrequisopstringrequisvaluestring | nullrequisSegment created
objectstringrequissegmentidstring<uuid>requisnamestringrequisdomain_idstring<uuid> | nullrequisBillionSend extension: the domain the segment is bound to; null for a team-wide segment
filterSegmentFilter | nullrequisAfficher les propriétésMasquer les propriétés
matchstringrequisallanyconditionsobject[]requisAfficher les propriétésMasquer les propriétés
objectfieldstringrequisopstringrequisvaluestring | nullrequiscreated_atstringrequisMissing, malformed, unknown or revoked API key
statusCodenumberrequisnamestringrequismessagestringrequisA key held to one domain bound this to another domain, or unbound it
statusCodenumberrequisnamestringrequismessagestringrequisValidation error, or a domain_id that is not one of your domains
statusCodenumberrequisnamestringrequismessagestringrequisOver the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberrequisnamestringrequismessagestringrequis