What a segment contains
The segment record exposes itsseg_… ID, name, project ID, contact count, unsubscribed count, and creation time.
The contacts endpoint lists current members with cursor pagination.
A segment does not store a property rule and does not continuously recalculate membership.
If your application needs rule-driven grouping, calculate that rule in your own system and synchronize explicit membership changes.
Membership operations
- Create the segment with a name.
- Add an existing contact through the contact-segment membership endpoint.
- Remove a membership without deleting the contact.
- List current contacts before using the group operationally.
- Delete the segment only after callers stop referencing its ID.
Sending to a segment
Put oneseg_… ID in to.
It must be the only recipient and cannot be combined with cc or bcc.
Signal resolves the current members and creates one independent message per resolved address.
One audience request supports at most 50 resolved recipients.
An audience larger than 50 is rejected rather than truncated.
Suppression checks still apply before provider delivery.
What membership does not prove
Segment membership is not a consent state. A member can have an explicit topic opt-out, global unsubscribe state, or suppression entry. Your sending workflow must select the correct audience boundary and honor the separate delivery fence.Pre-send checklist
- Retrieve or inspect the current membership.
- Confirm the group still matches the intended business population.
- Confirm the communication’s topic and consent requirements.
- Review unsubscribed and suppression state.
- Confirm the audience is within the 50-recipient request ceiling.
- Use a stable idempotency key for the logical send.