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
Views
Create a new view!
POST
/
v1
/
views
curl --request POST \
--url https://platform.thena.ai/v1/views \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "My View",
"description": "My View Description",
"teamId": "T00M677SAK",
"viewsTypeId": "3ENSBTAJ10QG1HAFYYNHADB58PKM5",
"isShared": true,
"configuration": {}
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"teamId": "<string>",
"viewId": 123,
"name": "<string>",
"description": "<string>",
"configuration": {},
"viewsTypeId": "<string>",
"viewsType": "<string>",
"owner": "<string>",
"ownerId": "<string>",
"isShared": true,
"isPersonal": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Authorizations
Enter your API key
Body
application/json
Response
201
application/json
Operation successful
The response is of type object
.
curl --request POST \
--url https://platform.thena.ai/v1/views \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "My View",
"description": "My View Description",
"teamId": "T00M677SAK",
"viewsTypeId": "3ENSBTAJ10QG1HAFYYNHADB58PKM5",
"isShared": true,
"configuration": {}
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"teamId": "<string>",
"viewId": 123,
"name": "<string>",
"description": "<string>",
"configuration": {},
"viewsTypeId": "<string>",
"viewsType": "<string>",
"owner": "<string>",
"ownerId": "<string>",
"isShared": true,
"isPersonal": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.