Add static segment members
Segments
Add static segment members
Add contacts to a static segment by email
POST
Add static segment members
Adds one or more existing workspace contacts to a static segment.Documentation Index
Fetch the complete documentation index at: https://docs.mailglyph.com/llms.txt
Use this file to discover all available pages before exploring further.
Path parameters
id(string, required): Segment ID
Request body
emailsmust be a non-empty array of valid email addresses.- Maximum length is 500 emails per request.
Response
added: Number of emails that matched contacts in the workspace.notFound: Input emails that were not found in the workspace.
Notes
- This endpoint only works for
STATICsegments. - Calling it for a
DYNAMICsegment returns400.
Authorizations
API Key authentication. Secret keys (sk_*) are required for all endpoints except /v1/track. Public keys (pk_*) only work with the /v1/track endpoint for client-side event tracking. Workspaces can have multiple active keys, and sender-domain operations enforce per-key domain scope when configured.
Path Parameters
Body
application/json
Required array length:
1 - 500 elements
