---
title: "Get Object Types"
description: "How to call Get Object Types (GET /api/object-types) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2026-07-15/reference/get_object_types"
revision: "2026-07-15"
latestUrl: "https://developers.klaviyo.com/en/reference/get_object_types"
operationId: "get_object_types"
method: "GET"
endpoint: "https://a.klaviyo.com/api/object-types"
authentication: "privateKey"
scopes: ["custom-objects:read"]
rateLimits: {"burst":"3/s","steady":"60/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json"
jsonApi: {"include":["current-schema","draft-schema"],"fields":{"object-schema":["description","id","properties","published_at","required","status","title","visibility"],"object-type":["created_at","description","id","namespace","status","title","updated_at"]},"filter":{"namespace":{"operators":{"single":["equals"]},"type":"string"}}}
related: ["https://developers.klaviyo.com/en/v2026-07-15/reference/custom-objects/llms.txt","https://developers.klaviyo.com/en/v2026-07-15/reference/get_object_type.md","https://developers.klaviyo.com/en/v2026-07-15/reference/create_object_type.md","https://developers.klaviyo.com/en/v2026-07-15/reference/delete_object_type.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_current_schema_for_object_type.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_current_schema_id_for_object_type.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_draft_schema_for_object_type.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_draft_schema_id_for_object_type.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_schema_versions_for_object_type.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_schema_version_ids_for_object_type.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_object_type_relationships.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_profile_type_relationships.md"]
---

# Get Object Types

> This is the Markdown version of https://developers.klaviyo.com/en/v2026-07-15/reference/get_object_types

```http
GET https://a.klaviyo.com/api/object-types
```

Get all object types in an account.

- Revision header: `revision: 2026-07-15` (required)
- Scopes: `custom-objects:read`
- Rate limits: Burst: `3/s`, Steady: `60/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json)

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/object-types' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-07-15'
```

## Query parameters

- `fields[object-schema]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `description`, `id`, `properties`, `published_at`, `required`, `status`, `title`, `visibility`
- `fields[object-type]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `created_at`, `description`, `id`, `namespace`, `status`, `title`, `updated_at`
- `filter` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md)\
  Allowed field(s)/operator(s):\
  `namespace`: `equals` (string) Example: `equals(namespace,'example')`
- `include` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `current-schema`, `draft-schema`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-07-15`

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object[], required)
  - `type` (string, required): Allowed values: `object-type`
  - `id` (string, required): The ULID ID of the object type Example: `01JXKYCN9A5M3QPVR8T2WE4BLD`
  - `attributes` (object, required)
    - `title` (string, required): The title for this object type Example: `Pet Care Subscription`
    - `description` (string, required): The description of this object type
    - `status` (string, required): The status of the schema associated with this object type Allowed values: `active`, `draft`, `publishing`, `undefined`
    - `namespace` (string, required): The namespace of this object type. Either `custom-objects` or `applications/<application_id>`, where `<application_id>` is the ULID of the OAuth application that owns the object type.
    - `created_at` (string<date-time>, required): The date and time when this object type was created Example: `2022-11-08T00:00:00+00:00`
    - `updated_at` (string<date-time>, required): The date and time when this object type was last updated Example: `2022-11-08T00:00:00+00:00`
  - `relationships` (object)
    - `current-schema` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
      - `links` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
    - `draft-schema` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
    - `schema-versions` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
    - `object-types` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
    - `profile-object-types` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (object)
  - `self` (string<uri>, required)
  - `prev` (string<uri>)
  - `next` (string<uri>)
- `meta` (object): Response-level metadata
  - `agent_hints` (object): Optional hints emitted by the API for agent callers
    - `next_steps` (string[]): Suggested follow-up actions for agents to take after this response
- `included` (object[])
  - `type` (string, required): Allowed values: `object-schema`
  - `id` (string, required): The ULID ID of the object schema Example: `01K61DKJ7EKJ0ES9VE456XF5JG`
  - `attributes` (object, required)
    - `title` (string, required): The title for this object schema
    - `description` (string, required): The description of this object schema
    - `status` (string, required): The status of this object schema Allowed values: `active`, `draft`, `publishing`, `undefined`
    - `properties` (object[], required): Properties of the object schema
      - `id` (integer, required): The ID of the schema property. Must be a postive integer. Example: `1`
      - `name` (string, required): The name of the schema property Example: `service_plan`
      - `type` (string, required): The type of the schema property Allowed values: `boolean`, `float`, `int`, `list_str`, `string`, `timestamp`
      - `description` (string, nullable): The description of the schema property Default: ``
    - `required` (string[], required): Properties that are required on the object schema
    - `published_at` (string<date-time>, nullable): The datetime when this object schema was activated Example: `2022-11-08T00:00:00+00:00`
    - `visibility` (string, required): The visibility of this object schema Allowed values: `private`, `shared`
  - `relationships` (object)
    - `source-mapping` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
    - `object-schemas` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
    - `profile-object-schemas` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_object_types.json).
  - `links` (ObjectLinks, required): Same fields as the first ObjectLinks above.

#### Example response body

```json
{
  "data": [
    {
      "type": "object-type",
      "id": "01JXKYCN9A5M3QPVR8T2WE4BLD",
      "attributes": {
        "title": "Pet Care Subscription",
        "description": "string",
        "status": "active",
        "namespace": "string",
        "created_at": "2022-11-08T00:00:00+00:00",
        "updated_at": "2022-11-08T00:00:00+00:00"
      },
      "relationships": {
        "current-schema": {
          "data": {
            "type": "object-schema",
            "id": "string"
          },
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        },
        "draft-schema": {
          "data": {
            "type": "object-schema",
            "id": "string"
          },
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        },
        "schema-versions": {
          "data": [
            {
              "type": "object-schema",
              "id": "string"
            }
          ],
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        },
        "object-types": {
          "data": [
            {
              "type": "object-type",
              "id": "string"
            }
          ],
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        },
        "profile-object-types": {
          "data": [
            {
              "type": "profile-object-type",
              "id": "string"
            }
          ],
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        }
      },
      "links": {
        "self": "https://www.example.com"
      }
    }
  ],
  "links": {
    "self": "https://www.example.com",
    "prev": "https://www.example.com",
    "next": "https://www.example.com"
  },
  "meta": {
    "agent_hints": {
      "next_steps": [
        "string"
      ]
    }
  },
  "included": [
    {
      "type": "object-schema",
      "id": "01K61DKJ7EKJ0ES9VE456XF5JG",
      "attributes": {
        "title": "string",
        "description": "string",
        "status": "active",
        "properties": [
          {
            "id": 1,
            "name": "service_plan",
            "type": "boolean",
            "description": ""
          }
        ],
        "required": [
          "string"
        ],
        "published_at": "2022-11-08T00:00:00+00:00",
        "visibility": "private"
      },
      "relationships": {
        "source-mapping": {
          "data": {
            "type": "source-mapping",
            "id": "string"
          },
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        },
        "object-schemas": {
          "data": [
            {
              "type": "object-schema",
              "id": "string"
            }
          ],
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        },
        "profile-object-schemas": {
          "data": [
            {
              "type": "profile-object-schema",
              "id": "string"
            }
          ],
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        }
      },
      "links": {
        "self": "https://www.example.com"
      }
    }
  ]
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
