Contacts

List a contact's segments

The segments the contact is in, in the order it joined them.

GET
/contacts/{id}/segments

The segments the contact is in, in the order it joined them.

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string

The contact's id or email address

Query Parameters

limit?integer

1–100; all items when absent.

Range0 <= value
after?string

An item id: the page after it.

before?string

An item id: the page before it.

Response Body

Success

application/json
  1. response

A list response (object: "list").

data*array<>
has_more*boolean
object*string
Example Request
curl -X GET 'https://api.exx.sh/contacts/string/segments'
Example Response
{  "data": [    {      "created_at": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string"    }  ],  "has_more": true,  "object": "string"}