Create a segment
/segmentsAuthorizationToken Bearer · headerobrigatórioA BillionSend API key (bs_…).
application/jsonnamestringobrigatóriodomain_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 | nullMostrar propriedadesOcultar propriedades
matchstringobrigatórioallanyconditionsobject[]obrigatórioMostrar propriedadesOcultar propriedades
objectfieldstringobrigatórioopstringobrigatóriovaluestring | nullobrigatórioSegment created
objectstringobrigatóriosegmentidstring<uuid>obrigatórionamestringobrigatóriodomain_idstring<uuid> | nullobrigatórioBillionSend extension: the domain the segment is bound to; null for a team-wide segment
filterSegmentFilter | nullobrigatórioMostrar propriedadesOcultar propriedades
matchstringobrigatórioallanyconditionsobject[]obrigatórioMostrar propriedadesOcultar propriedades
objectfieldstringobrigatórioopstringobrigatóriovaluestring | nullobrigatóriocreated_atstringobrigatórioMissing, malformed, unknown or revoked API key
statusCodenumberobrigatórionamestringobrigatóriomessagestringobrigatórioA key held to one domain bound this to another domain, or unbound it
statusCodenumberobrigatórionamestringobrigatóriomessagestringobrigatórioValidation error, or a domain_id that is not one of your domains
statusCodenumberobrigatórionamestringobrigatóriomessagestringobrigatórioOver the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberobrigatórionamestringobrigatóriomessagestringobrigatório