v1.0.0
OpenAPI 3.1.0
List object types
Client Libraries
US region
Returns a list of object types in your system. Because each object type is an incrementing ID, you may need to use this endpoint to find the ID of the object type you want to query, create, or modify.
Unauthorized request. Make sure that you provided the right credentials.
curl https://api.customer.io/v1/object_types \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"types": [
{
"enabled": true,
"icon": "calendar",
"id": "1",
"name": "Concerts",
"singular_name": "Concert",
"singular_slug": "concert",
"slug": "concerts"
}
]
}Returns an array of types.