PATCH
/
v1
/
tickets
/
bulk
curl --request PATCH \
  --url https://platform.thena.ai/v1/tickets/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "statusId": "<string>",
  "typeId": "<string>",
  "priorityId": "<string>",
  "assignedAgentId": "<string>",
  "isPrivate": true,
  "ticketIds": [
    "<string>"
  ]
}'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "data": {
    "updated": [
      {
        "id": "<string>",
        "title": "<string>"
      }
    ],
    "skipped": [
      {
        "id": "<string>",
        "reason": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Body

application/json
ticketIds
string[]
required

The IDs of the tickets to update

statusId
string

The ID of the status

typeId
string

The ID of the type

priorityId
string

The ID of the priority

assignedAgentId
string

The ID of the assigned agent

isPrivate
boolean

Whether the ticket is private

Response

200
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 updated