---
title: "Get custom attributes schema"
method: GET
path: "/chatbots/{chatbotId}/custom-attributes"
tags: ["Contacts"]
---

# Get custom attributes schema

`GET /chatbots/{chatbotId}/custom-attributes`

Retrieves the custom attributes schema for contacts

## Path parameters

- `chatbotId` string, required

## Response `200`

Custom attributes schema retrieved successfully

- object
  - `message` string
  - `data` object[] — Array of custom attribute definitions
    - `name` string — Attribute name
    - `label` string — Display label for the attribute
    - `type` 'text' | 'number' | 'boolean' | 'date' — Attribute data type
    - `description` string — Description of the attribute
    - `archived` boolean — Whether the attribute is archived

## Other responses

- `401` — Unauthorized - Invalid or missing API key
- `404` — Not Found - Resource does not exist
- `429` — Rate Limited - Too many requests
- `500` — Internal Server Error

---

[API](https://skmtc.dev/chatbase/apis/chatbase-api-v1.md) · [All operations](https://skmtc.dev/chatbase/apis/chatbase-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chatbase/chatbase-api-v1/revisions/3a2187967746/schema)
