Skip to main content
POST
/
v1
/
segments
/
{id}
/
contacts
/
{contactId}
Add contact to segment
curl --request POST \
  --url https://api.emailr.dev/v1/segments/{id}/contacts/{contactId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

API key authentication. Use your API key as the bearer token.

Path Parameters

id
string<uuid>
required
Example:

"123e4567-e89b-12d3-a456-426614174000"

contactId
string<uuid>
required
Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Contact added to segment

success
boolean
required
Example:

true