PATCH
/
v1
/
tickets
/
link
curl --request PATCH \
  --url https://platform.thena.ai/v1/tickets/link \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "sourceTicketId": "<string>",
  "linkedTicketId": "<string>"
}'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "data": {
    "id": "<string>",
    "title": "<string>",
    "ticketId": 123,
    "description": "<string>",
    "accountId": "<string>",
    "status": "<string>",
    "statusId": "<string>",
    "priority": "<string>",
    "priorityId": "<string>",
    "storyPoints": 123,
    "account": "<string>",
    "teamId": "<string>",
    "teamName": "<string>",
    "isPrivate": true,
    "typeId": "<string>",
    "type": "<string>",
    "assignedAgent": "<string>",
    "assignedAgentId": "<string>",
    "assignedAgentEmail": "<string>",
    "requestorEmail": "<string>",
    "customerContactId": "<string>",
    "customerContactFirstName": "<string>",
    "customerContactLastName": "<string>",
    "customerContactEmail": "<string>",
    "submitterEmail": "<string>",
    "customFieldValues": [
      "<string>"
    ],
    "deletedAt": "<string>",
    "archivedAt": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "formId": "<string>",
    "aiGeneratedTitle": "<string>",
    "aiGeneratedSummary": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Body

application/json
sourceTicketId
string
required

The ID of the source ticket

linkedTicketId
string
required

The ID of the target ticket to link to

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 response for create/update/delete ticket operations