GET
/
api
/
v1
/
accounts
/
{account_id}
/
custom_attribute_definitions
curl --request GET \
  --url https://app.chatwoot.com/api/v1/accounts/{account_id}/custom_attribute_definitions \
  --header 'api_access_token: <api-key>'
[
  {
    "id": 123,
    "attribute_display_name": "<string>",
    "attribute_display_type": "<string>",
    "attribute_description": "<string>",
    "attribute_key": "<string>",
    "attribute_values": "<string>",
    "default_value": "<string>",
    "attribute_model": "<string>",
    "account_id": 123
  }
]

Authorizations

api_access_token
string
header
required

This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.

Path Parameters

account_id
integer
required

The numeric ID of the account

Query Parameters

attribute_model
enum<string>
required

conversation_attribute(0)/contact_attribute(1)

Available options:
0,
1

Response

200
application/json
Success

Array of all custom attributes