curl --request PATCH \
--url https://platform.thena.ai/v1/tickets/{id}/archive \
--header 'x-api-key: <api-key>'{
"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,
"closedAt": "<string>",
"closedBy": "<string>",
"closedById": "<string>",
"closedByEmail": "<string>"
}
}curl --request PATCH \
--url https://platform.thena.ai/v1/tickets/{id}/archive \
--header 'x-api-key: <api-key>'{
"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,
"closedAt": "<string>",
"closedBy": "<string>",
"closedById": "<string>",
"closedByEmail": "<string>"
}
}Enter your API key
Operation successful
The status of the response
The message of the response
The timestamp of the response
The response for create/update/delete ticket operations
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 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