List all contacts
Example Request & Response
$ curl https://api.intercom.io/contacts \\\n-H 'Authorization:Bearer <Your access token>' \\\n-H 'Accept:application/json'
Example Errors
Invalid starting_after param
HTTP/1.1 400 BAD REQUEST\n{\n \"type\": \"error.list\",\n \"request_id\": \"000nbboasf1qqab6b910\",\n \"errors\": [\n {\n \"code\": \"client_error\",\n \"message\": \"Invalid starting_after param. Please try again using a starting_after value from a paginated response\"\n }\n ]\n}\n
You can fetch a list of all contacts.
Response
This will return a paginated list of Contact objects.
Attribute | Type | Description |
---|---|---|
type | String | The type of object - list |
data | Array | An array containing Contact Objects |
total_count | Integer | The total number of contacts |
pages | Pagination Object | The information needed to paginate through contacts |