Introduction
- API Reference
- Platform
- Platform APIs
- Login & sign up
- Organizations
- SLA duration
- Users
- Teams
- Tickets
- Core operations
- Assignment & escalation
- Relationships
- Comments & attachments
- Time tracking
- Status management
- Type management
- Priority management
- Tag management
- Ticket tags
- Other operations
- Comments & reactions
- Custom fields
- Forms
- Draft tickets
- Accounts & contacts
- Custom objects
- Workflows
- SLA
- Storage
- Notifications
Create tickets in bulk
curl --request POST \
--url https://platform.thena.ai/v1/tickets/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-org-id: <api-key>' \
--data '{
"tickets": [
{
"assignedAgentId": "<string>",
"assignedAgentEmail": "<string>",
"description": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"submitterEmail": "<string>",
"statusId": "<string>",
"statusName": "<string>",
"priorityId": "<string>",
"priorityName": "<string>",
"metadata": {},
"typeId": "<string>",
"isPrivate": true,
"source": "<string>",
"aiGeneratedTitle": "<string>",
"aiGeneratedSummary": "<string>",
"attachmentUrls": [
"<string>"
],
"customFieldValues": [
{}
],
"title": "<string>",
"requestorEmail": "<string>",
"accountId": "<string>",
"performRouting": true,
"teamId": "<string>",
"formId": "<string>"
}
],
"options": {
"stopOnError": true
}
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": [
{
"id": "<string>",
"title": "<string>"
}
]
}
Authorizations
Enter JWT bearer token
Enter organization ID
Body
The tickets to create
The title of the ticket
The email of the requestor
The ID of the team
The ID of the assigned agent
The email of the assigned agent
The description of the ticket
The due date of the ticket
The email of the submitter
The ID of the status, status id if provided is used over status name
The name of the status to match against
The ID of the priority, priority id if provided is used over priority name
The name of the priority to match against
The metadata of the ticket
The ID of the type
Whether the ticket is private
The source of the ticket
The AI generated title of the ticket
The AI generated summary of the ticket
The attachment URLs
The custom field values
The ID of the account
Whether to perform routing
The ID of the form
Response
The status of the response
The message of the response
The timestamp of the response
curl --request POST \
--url https://platform.thena.ai/v1/tickets/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-org-id: <api-key>' \
--data '{
"tickets": [
{
"assignedAgentId": "<string>",
"assignedAgentEmail": "<string>",
"description": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"submitterEmail": "<string>",
"statusId": "<string>",
"statusName": "<string>",
"priorityId": "<string>",
"priorityName": "<string>",
"metadata": {},
"typeId": "<string>",
"isPrivate": true,
"source": "<string>",
"aiGeneratedTitle": "<string>",
"aiGeneratedSummary": "<string>",
"attachmentUrls": [
"<string>"
],
"customFieldValues": [
{}
],
"title": "<string>",
"requestorEmail": "<string>",
"accountId": "<string>",
"performRouting": true,
"teamId": "<string>",
"formId": "<string>"
}
],
"options": {
"stopOnError": true
}
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": [
{
"id": "<string>",
"title": "<string>"
}
]
}