GET
/
api
/
segments
/
{id}
/
users
Get Users in Tenant Segment
curl --request GET \
  --url https://api.embedreach.com/api/segments/{id}/users
{
  "success": true,
  "message": "<string>",
  "data": {
    "users": [
      {
        "id": "<string>",
        "firstName": "<string>",
        "lastName": "<string>",
        "email": "<string>",
        "phone": "<string>",
        "emailOptOut": true,
        "phoneOptOut": true,
        "externalId": "<string>"
      }
    ]
  }
}

Headers

reach-tenant-id
string

If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.

Path Parameters

id
string
required

The id of the segment

Response

200
application/json

Status 200 response

The response is of type object.