POST
/
v1
/
accounts
/
attributes
Creates an account attribute value
curl --request POST \
  --url https://platform.thena.ai/v1/accounts/attributes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "attribute": "account_status",
  "value": "PROSPECT",
  "isDefault": true
}'
{
  "id": "<string>",
  "attribute": "account_status",
  "value": "PROSPECT",
  "isDefault": true,
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

Enter the bearer token

Body

application/json
attribute
enum<string>
required

Attribute type

Available options:
account_status,
account_classification,
contact_type,
activity_type,
activity_status,
note_type,
task_type,
task_status,
task_priority
Example:

"account_status"

value
string
required

Attribute value

Example:

"PROSPECT"

isDefault
boolean

Whether the value is default for the attribute

Example:

true

Response

Operation successful

id
string
required

The unique identifier of the attribute value

attribute
enum<string>
required

Attribute type

Available options:
account_status,
account_classification,
contact_type,
activity_type,
activity_status,
note_type,
task_type,
task_status,
task_priority
Example:

"account_status"

value
string
required

Attribute value

Example:

"PROSPECT"

isDefault
boolean
required

Whether this value is default for the attribute

createdAt
string
required

The creation date of the attribute value

updatedAt
string
required

The update date of the attribute value