POST
/
v1
/
tickets
/
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

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Body

application/json
tickets
object[]
required

The tickets to create

options
object

The options for creating tickets in bulk

Response

201
application/json
Operation successful
status
boolean
default:true
required

The status of the response

message
string
default:Success
required

The message of the response

timestamp
string
default:2024-01-01T00:00:00.000Z
required

The timestamp of the response

data
object[]
required

The tickets fetched