POST
/
v1
/
tickets
/
bulk
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": [
        {}
      ],
      "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>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Enter your API key

Body

application/json

Response

201
application/json

Operation successful

The response is of type object.