GET
/custom_object_instances/{custom_object_type_identifier}List custom object instances
Lists instances of a custom object type, optionally filtered by an associated contact or conversation. Use references_contact_id or references_conversation_id to filter the results, or provide external_id to retrieve a single matching instance instead of a list. Use page and per_page to paginate the results.
custom_object_type_identifierstringrequired
The unique identifier of the custom object type that defines the instance structure.
references_contact_idstringoptional
Filter results to instances associated with this contact ID.
references_conversation_idstringoptional
Filter results to instances associated with this conversation ID.
external_idstringoptional
Return the single instance with this external ID instead of a list.
pageintegeroptional
The page number of results to fetch.
per_pageintegeroptional
The number of results per page. Maximum 150.
Intercom-Versionstringoptional
The Intercom API version to use. Defaults to 2.17 when omitted; use a supported version.
200Returns custom object instance data. Without `external_id`, the response contains a paginated list and total count; with `external_id`, it contains the single matching instance.
typestringoptional
The type of the object - `list`.
pagesobjectoptional
The majority of list resources in the API are paginated to allow clients to traverse data over multiple requests.
Their responses are likely to contain a pages object that hosts pagination links which a client can use to paginate through the data without having to construct a query. The link relations for the pages field are as follows.
total_countintegeroptional
A count of the total number of custom object instances.
dataarray<CustomObjectInstance>optional
An array of Custom Object Instance objects.
401Returned when the request is unauthorized.
One documented failure
unauthorizedAccess Token Invalid
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
404Returned when the custom object type or requested instance is not found.
One documented failure
not_foundCustom object type `undefined` not found
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
Error handling
A 401 is returned when the request is unauthorized, and a 404 is returned when the custom object type or requested instance is not found. The custom_object_type_identifier path parameter must identify the custom object type; per_page accepts at most 150.