curl --request POST \
--url https://platform.thena.ai/v1/accounts/attributes \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"icon": "camera",
"color": "#000000",
"isClosed": false,
"metadata": {},
"attribute": "account_status",
"value": "PROSPECT",
"isDefault": true
}'
{
"id": "<string>",
"attribute": "account_status",
"value": "PROSPECT",
"isDefault": true,
"configuration": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"metadata": {}
}
Enter your API key
Operation successful
The response is of type object
.
curl --request POST \
--url https://platform.thena.ai/v1/accounts/attributes \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"icon": "camera",
"color": "#000000",
"isClosed": false,
"metadata": {},
"attribute": "account_status",
"value": "PROSPECT",
"isDefault": true
}'
{
"id": "<string>",
"attribute": "account_status",
"value": "PROSPECT",
"isDefault": true,
"configuration": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"metadata": {}
}