curl --request POST \
--url https://platform.thena.ai/v1/tickets/bulk \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"tickets": [
{
"assignedAgentId": "<string>",
"accountId": "<string>",
"assignedAgentEmail": "<string>",
"description": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"submitterEmail": "<string>",
"statusId": "<string>",
"statusName": "<string>",
"priorityId": "<string>",
"priorityName": "<string>",
"sentimentId": "<string>",
"metadata": {},
"typeId": "<string>",
"isPrivate": true,
"source": "<string>",
"aiGeneratedTitle": "<string>",
"aiGeneratedSummary": "<string>",
"attachmentUrls": [
"<string>"
],
"customFieldValues": [
{}
],
"isProactive": false,
"proactiveChannels": [
"email"
],
"title": "<string>",
"requestorEmail": "<string>",
"performRouting": true,
"teamId": "<string>",
"formId": "<string>",
"commentContent": "<string>",
"commentContentHtml": "<string>",
"commentContentJson": "<string>",
"commentAttachmentIds": [
"<string>"
],
"commentMetadata": {},
"commentImpersonatedUserName": "<string>",
"commentImpersonatedUserEmail": "<string>",
"commentImpersonatedUserAvatar": "<string>"
}
],
"options": {
"stopOnError": true
}
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": [
{
"id": "<string>",
"title": "<string>"
}
]
}
curl --request POST \
--url https://platform.thena.ai/v1/tickets/bulk \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"tickets": [
{
"assignedAgentId": "<string>",
"accountId": "<string>",
"assignedAgentEmail": "<string>",
"description": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"submitterEmail": "<string>",
"statusId": "<string>",
"statusName": "<string>",
"priorityId": "<string>",
"priorityName": "<string>",
"sentimentId": "<string>",
"metadata": {},
"typeId": "<string>",
"isPrivate": true,
"source": "<string>",
"aiGeneratedTitle": "<string>",
"aiGeneratedSummary": "<string>",
"attachmentUrls": [
"<string>"
],
"customFieldValues": [
{}
],
"isProactive": false,
"proactiveChannels": [
"email"
],
"title": "<string>",
"requestorEmail": "<string>",
"performRouting": true,
"teamId": "<string>",
"formId": "<string>",
"commentContent": "<string>",
"commentContentHtml": "<string>",
"commentContentJson": "<string>",
"commentAttachmentIds": [
"<string>"
],
"commentMetadata": {},
"commentImpersonatedUserName": "<string>",
"commentImpersonatedUserEmail": "<string>",
"commentImpersonatedUserAvatar": "<string>"
}
],
"options": {
"stopOnError": true
}
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": [
{
"id": "<string>",
"title": "<string>"
}
]
}
Enter your API key
Operation successful
The response is of type object
.