POST
/
v1
/
tickets
/
draft
curl --request POST \
  --url https://platform.thena.ai/v1/tickets/draft \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "assignedAgentId": "<string>",
  "description": "<string>",
  "submitterEmail": "<string>",
  "statusId": "<string>",
  "priorityId": "<string>",
  "typeId": "<string>",
  "isPrivate": true,
  "attachmentUrls": [
    "<string>"
  ],
  "customFieldValues": [
    {}
  ],
  "metadata": {},
  "title": "<string>",
  "requestorEmail": "<string>",
  "accountId": "<string>",
  "teamId": "<string>",
  "draftScope": "personal"
}'
{
  "uid": "<string>",
  "status": "<string>",
  "draftScope": "<string>",
  "entityType": "<string>",
  "content": {},
  "metadata": {},
  "createdBy": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "lastModifiedBy": "<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.