Authorizations
Enter the bearer token
Body
application/json
Response
Operation successful
The response is of type object
.
curl --request POST \
--url https://platform.thena.ai/v1/tickets/draft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--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>"
}
curl --request POST \
--url https://platform.thena.ai/v1/tickets/draft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--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>"
}
Enter the bearer token
Operation successful
The response is of type object
.