POST
/
v1
/
tickets
/
{ticketId}
/
tags
curl --request POST \
  --url https://platform.thena.ai/v1/tickets/{ticketId}/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "tagIds": "['\''ids'\'', '\''ids'\'']"
}'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "ticketId": "<string>",
  "data": {
    "count": 123,
    "items": [
      {}
    ]
  }
}

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Path Parameters

ticketId
string
required

Body

application/json
tagIds
string[]
required

Array of tag IDs to add to the ticket

Example:

"['ids', 'ids']"

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

ticketId
string
required

The ticket ID

data
object
required

The tags added to the ticket