contacts list

GET {{baseUrl}}/contacts

Returns a list of Contact objects.

Request Params

KeyDatatypeRequiredDescription
created_afterstringIf provided, will only return objects created after this datetime.
created_beforestringIf provided, will only return objects created before this datetime.
cursorstringThe pagination cursor value.
include_deleted_databooleanWhether to include data that was marked as deleted by third party webhooks.
include_remote_databooleanWhether to include the original data Merge fetched from the third-party to produce these models.
modified_afterstringIf provided, will only return objects modified after this datetime.
modified_beforestringIf provided, will only return objects modified before this datetime.
page_sizenumberNumber of results to return per page.
remote_idstringThe API provider's ID for the given object.

HEADERS

KeyDatatypeRequiredDescription
X-Account-Tokenstring(Required) Token identifying the end user.
Acceptstring

RESPONSES

status: OK

{"next":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw","previous":"cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ","results":[{"first_name":"Gil","last_name":"Feig","email":"hello@merge.dev","phone":"+13785579223","state":"NY","country":"BZ","postal_code":"tempor occaecat","remote_created_at":"2022-12-23T00:00:00Z","remote_updated_at":"2022-12-23T00:00:00Z","id":"urn:uuid:c1714372-e598-2efb-61de-c9243e4c903e","remote_id":"35"},{"first_name":"Gil","last_name":"Feig","email":"hello@merge.dev","phone":"+13785579223","state":"NY","country":"ME","postal_code":"nostrud dolore","remote_created_at":"2022-12-23T00:00:00Z","remote_updated_at":"2022-12-23T00:00:00Z","id":"882234c4-4431-6b02-f9fd-4eb86320ed95","remote_id":"35"}]}