Accounts
Get custom fields for an account
Introduction
- API Reference
- Platform
- Platform APIs
- Login & sign up
- Organizations
- SLA duration
- Users
- Teams
- Tickets
- Comments & reactions
- Custom fields
- Forms
- Draft tickets
- Accounts & contacts
- Accounts
- GETGet all accounts
- POSTGet accounts by IDs
- POSTGet accounts by primary domains
- POSTCreate an account
- GETGet account details
- PUTUpdate an account
- DELDelete an account
- GETGets all account attribute values
- POSTCreates an account attribute value
- PUTUpdates an account attribute value
- DELDeletes an account attribute value
- GETGet custom fields for an account
- POSTIngest users
- GET
- Relationships
- Contacts
- Activities
- Notes
- Tasks
- Custom objects
- Workflows
- SLA
- Storage
- Notifications
Accounts
Get custom fields for an account
GET
/
v1
/
accounts
/
account-custom-fields
curl --request GET \
--url https://platform.thena.ai/v1/accounts/account-custom-fields \
--header 'Authorization: Bearer <token>' \
--header 'x-org-id: <api-key>'
{
"data": {
"name": "<string>",
"uid": "<string>",
"organizationId": "<string>",
"source": "ticket",
"fieldType": "single_line",
"options": [
"<string>"
],
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isActive": true,
"teamId": "<string>",
"autoAddToAllForms": true,
"hintText": "<string>",
"placeholderText": "<string>",
"mandatoryOnCreation": true,
"mandatoryOnClose": true,
"visibleToCustomer": true,
"editableByCustomer": true,
"defaultValue": "<string>"
},
"status": true,
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
Authorizations
Enter JWT bearer token
Enter organization ID
Response
200
application/json
Operation successful
Available options:
ticket
, account
, custom_object
, customer_contact
Available options:
single_line
, multi_line
, rich_text
, integer
, decimal
, currency
, date
, date_time
, time
, single_choice
, multi_choice
, radio_button
, checkbox
, email
, phone_number
, url
, ip_address
, regex
, password
, file_upload
, calculated
, lookup
, address
, coordinates
, rating
, toggle
, boolean
curl --request GET \
--url https://platform.thena.ai/v1/accounts/account-custom-fields \
--header 'Authorization: Bearer <token>' \
--header 'x-org-id: <api-key>'
{
"data": {
"name": "<string>",
"uid": "<string>",
"organizationId": "<string>",
"source": "ticket",
"fieldType": "single_line",
"options": [
"<string>"
],
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isActive": true,
"teamId": "<string>",
"autoAddToAllForms": true,
"hintText": "<string>",
"placeholderText": "<string>",
"mandatoryOnCreation": true,
"mandatoryOnClose": true,
"visibleToCustomer": true,
"editableByCustomer": true,
"defaultValue": "<string>"
},
"status": true,
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}