---
title: "List all custom attributes in an account"
method: GET
path: "/v1/workspaces/{workspace_id}/custom_attribute_definitions"
tags: ["Custom attributes"]
---

# List all custom attributes in an account

`GET /v1/workspaces/{workspace_id}/custom_attribute_definitions`

## Request

- Base URL: `https://api.oxvo.com`
- URL: `https://api.oxvo.com/v1/workspaces/{workspace_id}/custom_attribute_definitions`
- Auth: API key in header `api_access_token`

Get details of custom attributes in an Account

## Query parameters

- `attribute_model` '0' | '1', required

## Response `200`

Success

- CustomAttribute[]: Array of all custom attributes
  - `id` integer: Identifier
  - `attribute_display_name` string: Attribute display name
  - `attribute_display_type` string: Attribute display type (text, number, currency, percent, link, date, list, checkbox)
  - `attribute_description` string: Attribute description
  - `attribute_key` string: Attribute unique key value
  - `regex_pattern` string: Regex pattern
  - `regex_cue` string: Regex cue
  - `attribute_values` string: Attribute values
  - `attribute_model` string: Attribute type(conversation_attribute/contact_attribute)
  - `default_value` string: Attribute default value
  - `created_at` string: The date and time when the custom attribute was created
  - `updated_at` string: The date and time when the custom attribute was updated

## Other responses

- `403`: Access denied

---

[API](https://skmtc.dev/oxvo/apis/oxvo-apis.md) · [All operations](https://skmtc.dev/oxvo/apis/oxvo-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oxvo/apis/oxvo-apis/revisions/9a8448cbd1fe?raw)
