Fetch a Custom Object Instance by id.
Requires the read_conversations, read_users_companies, read_write_custom_object_instances or read_write_users OAuth scope.
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
- The production API serverhttps://api.intercom.io/custom_object_instances/{custom_object_type_identifier}/{custom_object_instance_id}
- The european API serverhttps://api.eu.intercom.io/custom_object_instances/{custom_object_type_identifier}/{custom_object_instance_id}
- The australian API serverhttps://api.au.intercom.io/custom_object_instances/{custom_object_type_identifier}/{custom_object_instance_id}
curl -i -X GET \
'https://api.intercom.io/custom_object_instances/Order/{custom_object_instance_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.17'successful. If the custom object type exists but no instance matches, the response is still 200 with found: false.
A Custom Object Instance represents an instance of a custom object type. This allows you to create and set custom attributes to store data about your customers that is not already captured by Intercom. The parent object includes recommended default attributes and you can add your own custom attributes.
The id you have defined for the custom object instance.
The time when the Custom Object instance was created in the external system it originated from.
The time when the Custom Object instance was last updated in the external system it originated from.
The time the attribute was created as a UTC Unix timestamp
The time the attribute was last updated as a UTC Unix timestamp
The identifier of the custom object type that defines the structure of the custom object instance.
The custom attributes you have set on the custom object instance.
Each value is returned with the type of the attribute it is set on: a string, integer, number or boolean, or null when the attribute is unset. A list attribute returns the label of the selected option. A reference attribute returns an object holding the referenced records, under contacts for a contact reference, conversations for a conversation reference, or instances for a reference to another custom object type.
{ "order_number": "ORDER-12345", "total_amount": 99.99 }
- Custom Object Instance
- Custom Object Instance Not Found
- successful
- Instance not found
{ "id": "25", "type": "Order", "custom_attributes": { "order_number": "ORDER-12345", "total_amount": 99.99 }, "external_id": "123", "external_created_at": null, "external_updated_at": null, "created_at": 1734537750, "updated_at": 1734537750 }