API reference
Platform
- Search
- Users
- Teams
- Tickets
- Tags
- Ticket tags
- Accounts
- Forms
- Comments
- Emoji actions
- Custom fields
- 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
Create notification preference profile
POST
/
v1
/
notifications
/
preferences
/
profiles
Copy
Ask AI
curl --request POST \
--url https://platform.thena.ai/v1/notifications/preferences/profiles \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"description": "Out of office profile",
"isCurrent": false,
"isDefault": true,
"groupingType": "no_grouping",
"batchingType": "no_batching",
"batchCount": 123,
"batchDuration": 123,
"title": "Out of office",
"configuration": [
{
"eventType": "ticket_created",
"channelType": "push",
"isEnabled": true
}
]
}'
Copy
Ask AI
{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"isCurrent": true,
"isDefault": true,
"configuration": [
{
"eventType": "ticket_created",
"channelType": "push",
"isEnabled": true
}
],
"groupingType": "no_grouping",
"batchingType": "no_batching",
"batchCount": 123,
"batchDuration": 123,
"createdAt": "<string>",
"updatedAt": "<string>"
}
Authorizations
Enter your API key
Body
application/json
Response
201
application/json
Operation successful
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://platform.thena.ai/v1/notifications/preferences/profiles \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"description": "Out of office profile",
"isCurrent": false,
"isDefault": true,
"groupingType": "no_grouping",
"batchingType": "no_batching",
"batchCount": 123,
"batchDuration": 123,
"title": "Out of office",
"configuration": [
{
"eventType": "ticket_created",
"channelType": "push",
"isEnabled": true
}
]
}'
Copy
Ask AI
{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"isCurrent": true,
"isDefault": true,
"configuration": [
{
"eventType": "ticket_created",
"channelType": "push",
"isEnabled": true
}
],
"groupingType": "no_grouping",
"batchingType": "no_batching",
"batchCount": 123,
"batchDuration": 123,
"createdAt": "<string>",
"updatedAt": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.