accounts list
GET {{baseUrl}}/accounts
Returns a list of CRMAccount
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":"0958cbc6-6040-430a-848e-aafacbadf4ae","remote_id":"19202938","owner":"0258cbc6-6020-430a-848e-aafacbadf4ae","name":"Merge API","description":"One API for all integrations","industry":"API's","website":"https://merge.dev/","number_of_employees":276000,"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"}],"phone_numbers":[{"phone_number":"+16788879833","phone_number_type":"Mobile"}],"last_activity_at":"2022-02-10T00:00:00Z","remote_updated_at":"2022-01-09T00:00:00Z","remote_created_at":"2021-11-10T00:00:00Z"},{"id":"0958cbc6-6040-430a-848e-aafacbadf4ae","remote_id":"19202938","owner":"0258cbc6-6020-430a-848e-aafacbadf4ae","name":"Merge API","description":"One API for all integrations","industry":"API's","website":"https://merge.dev/","number_of_employees":276000,"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"}],"phone_numbers":[{"phone_number":"+16788879833","phone_number_type":"Mobile"}],"last_activity_at":"2022-02-10T00:00:00Z","remote_updated_at":"2022-01-09T00:00:00Z","remote_created_at":"2021-11-10T00:00:00Z"}]}