contacts list
GET {{baseUrl}}/contacts
Returns a list of CRMContact
objects.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
cursor | string | The pagination cursor value. | |
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
include_deleted_data | boolean | Whether to include data that was deleted in the third-party service. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. | |
page_size | number | Number of results to return per page. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"next":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw","previous":"cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ","results":[{"id":"urn:uuid:7ade184c-25b0-0af7-80e3-c77ac63f4cf3","remote_id":"19202938","first_name":"Gil","last_name":"Feig","account":"0958cbc6-6040-430a-848e-aafacbadf4ae","addresses":[{"street_1":"50 Bowling Green Dr","street_2":"Golden Gate Park","city":"San Francisco","state":"CA","postal_code":"94122","country":"USA","address_type":"Shipping"}],"email_addresses":[{"email_address":"hello@merge.dev","email_address_type":"Work"}],"phone_numbers":[{"phone_number":"+13785579223","phone_number_type":"Mobile"}],"last_activity_at":"2022-02-10T00:00:00Z","remote_created_at":"2021-11-10T00:00:00Z"},{"id":"d70d6458-2baa-6dab-4590-e426ffebfa0f","remote_id":"19202938","first_name":"Gil","last_name":"Feig","account":"0958cbc6-6040-430a-848e-aafacbadf4ae","addresses":[{"street_1":"50 Bowling Green Dr","street_2":"Golden Gate Park","city":"San Francisco","state":"CA","postal_code":"94122","country":"USA","address_type":"Shipping"}],"email_addresses":[{"email_address":"hello@merge.dev","email_address_type":"Work"}],"phone_numbers":[{"phone_number":"+13785579223","phone_number_type":"Mobile"}],"last_activity_at":"2022-02-10T00:00:00Z","remote_created_at":"2021-11-10T00:00:00Z"}]}