---
title: "List object types"
method: GET
path: "/object-types"
tags: ["Object Types"]
---

# List object types

`GET /object-types`

## Request

- Base URL: `https://api.commonroom.io/api/v2`
- URL: `https://api.commonroom.io/api/v2/object-types`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/commonroom/apis/common-room-api-v2/docs/object-types/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve all custom object type definitions for the community, including
their associations to other entity types.

## Response `200`

OK

- ObjectTypeList
  - `success` true, required
  - `data` ApiObjectType[], required
    - `id` string, required: Prefixed object type ID (format `cot_<number>`)
    - `name` string, required: The object type's display name
    - `assocs` ApiObjectTypeAssoc[]: Associations to other entity types
      - `objectAssocType` string, required: The relationship type
      - `targetEntity` string, required: The target entity name (e.g. `Contact`, `Organization`, or a custom object type name)
      - `targetObjectTypeId` string, nullable, required: Prefixed target object type ID (format `cot_<number>`), or null for standard entities

## Other responses

- `403`: Forbidden
- `429`: Rate Limited

---

[API](https://skmtc.dev/commonroom/apis/common-room-api-v2.md) - [All operations](https://skmtc.dev/commonroom/apis/common-room-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/commonroom/apis/common-room-api-v2/revisions/865d4d43dadf?raw)
