API reference
Platform
- Search
- Users
- Teams
- Tickets
- Tags
- Ticket tags
- Accounts
- 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
Forms
Order forms
This endpoint is only available for standard and enterprise tier organizations.
POST
/
v1
/
forms
/
order
curl --request POST \
--url https://platform.thena.ai/v1/forms/order \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"forms": [
{
"formId": "<string>",
"order": 123,
"version": 123
}
]
}'
{
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"fields": [
{
"field": "<string>",
"defaultValue": {},
"mandatoryOnCreation": true,
"mandatoryOnClose": true,
"visibleToCustomer": true,
"editableByCustomer": true
}
],
"conditions": [
{
"triggerFieldId": "<string>",
"triggerFieldValue": {},
"conditionType": "<string>",
"targetFields": [
{
"id": "<string>",
"type": "<string>",
"value": {},
"options": [
{}
]
}
],
"forVendor": true,
"forUser": true,
"teamId": "<string>"
}
],
"version": 123,
"isActive": true,
"default": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"channels": [
"<string>"
],
"teamId": "<string>",
"order": 123
},
"status": true,
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
Authorizations
Enter your API key
Body
application/json
Response
200
application/json
Operation successful
The response is of type object
.
curl --request POST \
--url https://platform.thena.ai/v1/forms/order \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"forms": [
{
"formId": "<string>",
"order": 123,
"version": 123
}
]
}'
{
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"fields": [
{
"field": "<string>",
"defaultValue": {},
"mandatoryOnCreation": true,
"mandatoryOnClose": true,
"visibleToCustomer": true,
"editableByCustomer": true
}
],
"conditions": [
{
"triggerFieldId": "<string>",
"triggerFieldValue": {},
"conditionType": "<string>",
"targetFields": [
{
"id": "<string>",
"type": "<string>",
"value": {},
"options": [
{}
]
}
],
"forVendor": true,
"forUser": true,
"teamId": "<string>"
}
],
"version": 123,
"isActive": true,
"default": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"channels": [
"<string>"
],
"teamId": "<string>",
"order": 123
},
"status": true,
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.