v1.0.0
OpenAPI 3.1.0

List object types

US region

Client Libraries

List object types

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.

Responses
  • application/json
  • 401

    Unauthorized request. Make sure that you provided the right credentials.

  • application/json
Request Example for get/v1/object_types
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"
    }
  ]
}