curl --request POST \
--url https://platform.thena.ai/v1/tickets \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"title": "<string>",
"requestorEmail": "<string>",
"teamId": "<string>",
"assignedAgentId": "<string>",
"accountId": "<string>",
"assignedAgentEmail": "<string>",
"description": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"submitterEmail": "<string>",
"statusId": "<string>",
"statusName": "<string>",
"priorityId": "<string>",
"priorityName": "<string>",
"sentimentId": "<string>",
"metadata": {},
"typeId": "<string>",
"isPrivate": true,
"source": "<string>",
"aiGeneratedTitle": "<string>",
"aiGeneratedSummary": "<string>",
"attachmentUrls": [
"<string>"
],
"customFieldValues": [
{}
],
"isProactive": false,
"closedAt": "2023-11-07T05:31:56Z",
"closedById": "<string>",
"proactiveChannels": [
"email"
],
"performRouting": true,
"formId": "<string>",
"commentContent": "<string>",
"commentContentHtml": "<string>",
"commentContentJson": "<string>",
"commentAttachmentIds": [
"<string>"
],
"commentMetadata": {},
"commentImpersonatedUserName": "<string>",
"commentImpersonatedUserEmail": "<string>",
"commentImpersonatedUserAvatar": "<string>",
"deDuplicationKey": "<string>"
}
'{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"ticketIdentifier": "<string>",
"title": "<string>",
"ticketId": 123,
"description": "<string>",
"source": "<string>",
"accountId": "<string>",
"status": "<string>",
"statusId": "<string>",
"priority": "<string>",
"priorityId": "<string>",
"storyPoints": 123,
"account": "<string>",
"teamId": "<string>",
"teamName": "<string>",
"teamIdentifier": "<string>",
"subTeamId": "<string>",
"subTeamName": "<string>",
"subTeamIdentifier": "<string>",
"isPrivate": true,
"typeId": "<string>",
"type": "<string>",
"assignedAgent": "<string>",
"assignedAgentId": "<string>",
"assignedAgentEmail": "<string>",
"assignedAgentAvatar": "<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>",
"sentiment": "<string>",
"sentimentId": "<string>",
"teamIcon": "<string>",
"teamColor": "<string>",
"teamOrganizationId": "<string>",
"teamParentTeamId": "<string>",
"teamDescription": "<string>",
"teamConfigurationId": "<string>",
"teamTeamOwnerId": "<string>",
"teamIsActive": true,
"teamIsPrivate": true,
"teamCreatedAt": "<string>",
"teamUpdatedAt": "<string>",
"teamDeletedAt": "<string>",
"teamArchivedAt": "<string>",
"subTeamIcon": "<string>",
"subTeamColor": "<string>",
"subTeamOrganizationId": "<string>",
"subTeamParentTeamId": "<string>",
"subTeamDescription": "<string>",
"subTeamConfigurationId": "<string>",
"subTeamTeamOwnerId": "<string>",
"subTeamIsActive": true,
"subTeamIsPrivate": true,
"subTeamCreatedAt": "<string>",
"subTeamUpdatedAt": "<string>",
"subTeamDeletedAt": "<string>",
"subTeamArchivedAt": "<string>",
"lastCustomerComment": "<string>",
"lastVendorComment": "<string>",
"lastComment": "<string>",
"isEscalated": true,
"comment": {
"id": "<string>",
"content": "<string>",
"contentHtml": "<string>",
"contentJson": "<string>",
"contentMarkdown": "<string>",
"isEdited": true,
"threadName": "<string>",
"commentVisibility": "<string>",
"commentType": "<string>",
"isPinned": true,
"sourceEmailId": "<string>",
"metadata": {},
"parentCommentId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"author": "<string>",
"authorId": "<string>",
"authorUserType": "<string>",
"customerContactId": "<string>",
"customerContactEmail": "<string>",
"customerContactFirstName": "<string>",
"customerContactLastName": "<string>",
"customerContactAvatarUrl": "<string>",
"authorAvatarUrl": "<string>",
"impersonatedUserEmail": "<string>",
"impersonatedUserName": "<string>",
"impersonatedUserAvatar": "<string>",
"attachments": [
"<string>"
],
"deletedAt": "<string>"
},
"closedAt": "<string>",
"closedBy": "<string>",
"closedById": "<string>",
"closedByEmail": "<string>"
}
}curl --request POST \
--url https://platform.thena.ai/v1/tickets \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"title": "<string>",
"requestorEmail": "<string>",
"teamId": "<string>",
"assignedAgentId": "<string>",
"accountId": "<string>",
"assignedAgentEmail": "<string>",
"description": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"submitterEmail": "<string>",
"statusId": "<string>",
"statusName": "<string>",
"priorityId": "<string>",
"priorityName": "<string>",
"sentimentId": "<string>",
"metadata": {},
"typeId": "<string>",
"isPrivate": true,
"source": "<string>",
"aiGeneratedTitle": "<string>",
"aiGeneratedSummary": "<string>",
"attachmentUrls": [
"<string>"
],
"customFieldValues": [
{}
],
"isProactive": false,
"closedAt": "2023-11-07T05:31:56Z",
"closedById": "<string>",
"proactiveChannels": [
"email"
],
"performRouting": true,
"formId": "<string>",
"commentContent": "<string>",
"commentContentHtml": "<string>",
"commentContentJson": "<string>",
"commentAttachmentIds": [
"<string>"
],
"commentMetadata": {},
"commentImpersonatedUserName": "<string>",
"commentImpersonatedUserEmail": "<string>",
"commentImpersonatedUserAvatar": "<string>",
"deDuplicationKey": "<string>"
}
'{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"ticketIdentifier": "<string>",
"title": "<string>",
"ticketId": 123,
"description": "<string>",
"source": "<string>",
"accountId": "<string>",
"status": "<string>",
"statusId": "<string>",
"priority": "<string>",
"priorityId": "<string>",
"storyPoints": 123,
"account": "<string>",
"teamId": "<string>",
"teamName": "<string>",
"teamIdentifier": "<string>",
"subTeamId": "<string>",
"subTeamName": "<string>",
"subTeamIdentifier": "<string>",
"isPrivate": true,
"typeId": "<string>",
"type": "<string>",
"assignedAgent": "<string>",
"assignedAgentId": "<string>",
"assignedAgentEmail": "<string>",
"assignedAgentAvatar": "<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>",
"sentiment": "<string>",
"sentimentId": "<string>",
"teamIcon": "<string>",
"teamColor": "<string>",
"teamOrganizationId": "<string>",
"teamParentTeamId": "<string>",
"teamDescription": "<string>",
"teamConfigurationId": "<string>",
"teamTeamOwnerId": "<string>",
"teamIsActive": true,
"teamIsPrivate": true,
"teamCreatedAt": "<string>",
"teamUpdatedAt": "<string>",
"teamDeletedAt": "<string>",
"teamArchivedAt": "<string>",
"subTeamIcon": "<string>",
"subTeamColor": "<string>",
"subTeamOrganizationId": "<string>",
"subTeamParentTeamId": "<string>",
"subTeamDescription": "<string>",
"subTeamConfigurationId": "<string>",
"subTeamTeamOwnerId": "<string>",
"subTeamIsActive": true,
"subTeamIsPrivate": true,
"subTeamCreatedAt": "<string>",
"subTeamUpdatedAt": "<string>",
"subTeamDeletedAt": "<string>",
"subTeamArchivedAt": "<string>",
"lastCustomerComment": "<string>",
"lastVendorComment": "<string>",
"lastComment": "<string>",
"isEscalated": true,
"comment": {
"id": "<string>",
"content": "<string>",
"contentHtml": "<string>",
"contentJson": "<string>",
"contentMarkdown": "<string>",
"isEdited": true,
"threadName": "<string>",
"commentVisibility": "<string>",
"commentType": "<string>",
"isPinned": true,
"sourceEmailId": "<string>",
"metadata": {},
"parentCommentId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"author": "<string>",
"authorId": "<string>",
"authorUserType": "<string>",
"customerContactId": "<string>",
"customerContactEmail": "<string>",
"customerContactFirstName": "<string>",
"customerContactLastName": "<string>",
"customerContactAvatarUrl": "<string>",
"authorAvatarUrl": "<string>",
"impersonatedUserEmail": "<string>",
"impersonatedUserName": "<string>",
"impersonatedUserAvatar": "<string>",
"attachments": [
"<string>"
],
"deletedAt": "<string>"
},
"closedAt": "<string>",
"closedBy": "<string>",
"closedById": "<string>",
"closedByEmail": "<string>"
}
}Enter your API key
Create ticket request body
The title of the ticket
The email of the requestor
The ID of the team
The ID of the assigned agent
The ID of the account
The email of the assigned agent
The description of the ticket
The due date of the ticket
The email of the submitter
The ID of the status, status id if provided is used over status name
The name of the status to match against
The ID of the priority, priority id if provided is used over priority name
The name of the priority to match against
The ID of the sentiment
The metadata of the ticket
The ID of the type
Whether the ticket is private
The source of the ticket
The AI generated title of the ticket
The AI generated summary of the ticket
The attachment URLs
The custom field values
Whether the ticket is proactive
The closed date of the ticket
The ID of the user who closed the ticket
The proactive channels associated with the ticket
email, web-chat, slack Whether to perform routing
The ID of the form
The content of the customer comment
The HTML content of the customer comment
The JSON content of the customer comment
The attachment IDs for the customer comment
The metadata for the customer comment
The impersonated user name for the customer comment
The impersonated user email for the customer comment
The impersonated user avatar for the customer comment
A deduplication key provided by an external application. The platform uses this key to prevent the creation of duplicate tickets.
255Operation successful
The status of the response
The message of the response
The timestamp of the response
The response for create ticket operation
Show child attributes
The unique identifier of the ticket
The unique identifier of the ticket
The title of the ticket
The ticket ID of the ticket
The description of the ticket
The source of the ticket
The account ID of the ticket
The status of the ticket
The status ID of the ticket
The priority of the ticket
The priority ID of the ticket
The story points of the ticket
The account of the ticket
The team ID of the ticket
The name of the team of the ticket
The identifier of the team of the ticket
The sub team ID of the ticket
The name of the sub team of the ticket
The identifier of the sub team of the ticket
Whether the ticket is private
The type ID of the ticket
The name of the type of the ticket
The assigned agent of the ticket
The assigned agent ID of the ticket
The assigned agent email of the ticket
The assigned agent avatar of the ticket
The requestor email of the ticket
The customer contact ID of the ticket
The customer contact first name of the ticket
The customer contact last name of the ticket
The customer contact email of the ticket
The submitter email of the ticket
The custom field values
The deleted at date of the ticket
The archived at date of the ticket
The created at date of the ticket
The updated at date of the ticket
The form ID of the ticket
The AI generated title of the ticket
The AI generated summary of the ticket
The sentiment of the ticket
The sentiment ID of the ticket
The team icon of the ticket
The team color of the ticket
The team organization ID of the ticket
The team parent team ID of the ticket
The team description of the ticket
The team configuration ID of the ticket
The team team owner ID of the ticket
The team is active of the ticket
The team is private of the ticket
The team created at of the ticket
The team updated at of the ticket
The team deleted at of the ticket
The team archived at of the ticket
The sub team icon of the ticket
The sub team color of the ticket
The sub team organization ID of the ticket
The sub team parent team ID of the ticket
The sub team description of the ticket
The sub team configuration ID of the ticket
The sub team team owner ID of the ticket
The sub team is active of the ticket
The sub team is private of the ticket
The sub team created at of the ticket
The sub team updated at of the ticket
The sub team deleted at of the ticket
The sub team archived at of the ticket
The last customer comment timestamp
The last vendor comment timestamp
The last comment timestamp (max of lastCustomerComment and lastVendorComment)
Whether the ticket is escalated
The comment creation response
Show child attributes
The unique identifier of the comment
The content of the comment
The HTML content of the comment
The JSON content of the comment
The markdown content of the comment
Indicates if the comment is edited
The name of the comment thread
The visibility of the comment
The type of the comment
Indicates if the comment is pinned
The source email ID of the comment
The metadata of the comment
The parent comment ID of the comment
The creation date of the comment
The update date of the comment
The author of the comment
The unique identifier of the author of the comment
The user type of the author of the comment
The customer contact ID of the author of the comment
The email of the customer contact of the author of the comment
The first name of the customer contact of the author of the comment
The last name of the customer contact of the author of the comment
The avatar url of the customer contact of the author of the comment
The avatar url of the author of the comment
The impersonated user email
The impersonated user name
The impersonated user avatar
The attachments of the comment
The deletion date of the comment (null if not deleted)
The closed at date of the ticket
The display name of the user who closed the ticket
The ID of the user who closed the ticket
The email of the user who closed the ticket