API reference
Platform
- Search
- Users
- Teams
- Tickets
- Tags
- Ticket tags
- Accounts
- GETGet all accounts
- POSTCreate an account
- POSTGet accounts by ids
- POSTGet accounts by primary domains
- POSTCreate accounts in bulk
- GETGet account details
- PUTUpdate an account
- DELDelete an account
- GETGet all account relationships
- POSTCreate an account relationship
- PUTUpdate an account relationship
- DELDelete an account relationship
- GETGet all account relationship types
- POSTCreate an account relationship type
- PUTUpdate an account relationship type
- DELDelete an account relationship type
- GETGet all account contacts
- POSTCreate an account contact
- POSTFilter customer contacts by ids
- GETSearch customer contacts
- POSTBulk create account contacts
- PUTUpdate a customer contact
- DELDelete a customer contact
- GETGet custom fields for an account
- GETGets all account attribute values
- POSTCreates an account attribute value
- PUTUpdates an account attribute value
- DELDeletes an account attribute value
- GETFetches all account activities
- POSTCreates an account activity
- PUTUpdates an account activity
- DELDeletes an account activity
- DELRemoves an attachment from an account activity
- GETFetches all account notes by account ID or by note ID
- POSTCreates an account note
- PUTUpdates an account note
- DELDeletes an account note
- DELRemoves an attachment from an account note
- GETFetches all account tasks by account ID or by task ID
- POSTCreates an account task
- PUTUpdates an account task
- DELDeletes an account task
- DELRemoves an attachment from an account task
- POSTIngest users
- GET
- Forms
- Comments
- Emoji actions
- Custom object fields
- Custom objects
- Object records
- Views
- Views types
- Draft tickets
- Storage
- Reactions
Workflows
- Workflows
Apps platform
- App creation
- App installation
- App uninstallation
- App reinstallation
- Incoming webhook
Accounts
Updates an account attribute value
PUT
/
v1
/
accounts
/
attributes
/
{id}
Copy
Ask AI
curl --request PUT \
--url https://platform.thena.ai/v1/accounts/attributes/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"icon": "camera",
"color": "#000000",
"isClosed": false,
"metadata": {},
"value": "PROSPECT",
"isDefault": false
}'
Copy
Ask AI
{
"id": "<string>",
"attribute": "account_status",
"value": "PROSPECT",
"isDefault": true,
"configuration": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"metadata": {}
}
Authorizations
Enter your API key
Path Parameters
Body
application/json
Response
200
application/json
Operation successful
The response is of type object
.
Copy
Ask AI
curl --request PUT \
--url https://platform.thena.ai/v1/accounts/attributes/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"icon": "camera",
"color": "#000000",
"isClosed": false,
"metadata": {},
"value": "PROSPECT",
"isDefault": false
}'
Copy
Ask AI
{
"id": "<string>",
"attribute": "account_status",
"value": "PROSPECT",
"isDefault": true,
"configuration": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"metadata": {}
}
Assistant
Responses are generated using AI and may contain mistakes.