API reference
Platform
- Search
- Users
- Teams
- Tickets
- GETGet all tickets
- POSTCreate a ticket
- POSTCreate tickets in bulk
- GETGet a ticket
- PATCHUpdate a ticket
- PATCHUpdate tickets in bulk
- DELDelete a ticket
- POSTDelete tickets in bulk
- PATCHAssign a ticket to an agent
- PATCHReassign a ticket to a team
- PATCHEscalate a ticket
- GETGet ticket related
- PATCHMark a ticket as sub-ticket
- PATCHMark a ticket as duplicate
- PATCHLink tickets
- POSTComment on a ticket
- GETGet comments for a ticket
- Get comments for a ticket by user type
- Attach a file to a ticket
- Get v1tickets attachments
- PATCHLog time for a ticket
- GETGet time logs for a ticket
- POSTCreate a new ticket status
- GETGet all ticket statuses
- GETGet a ticket status by its ID
- PATCHUpdate a ticket status
- DELDelete a custom ticket status
- POSTCreate a new custom ticket type
- GETGet all ticket types
- GETGet v1ticketsticket types
- GETGet a ticket type by ID
- PATCHUpdate a custom ticket type
- DELDelete a custom ticket type
- POSTCreate a new custom ticket priority
- GETGet all ticket priorities
- GETGet a ticket priority by ID
- PATCHUpdate a custom ticket priority
- DELDelete a custom ticket priority
- POSTCreate a new ticket sentiment
- GETGet all ticket sentiments
- GETGet a ticket sentiment by id
- PATCHUpdate a ticket sentiment
- DELDelete a ticket sentiment
- PATCHUnarchive a ticket
- PATCHArchive a ticket
- PATCHArchive tickets in bulk
- GET
- Tags
- Ticket tags
- Accounts
- Forms
- Comments
- Emoji actions
- Custom object fields
- Custom objects
- Object records
- Views
- Views types
- Draft tickets
- Storage
- Reactions
Workflows
- Workflows
Apps platform
- App creation
- App installation
- App uninstallation
- App reinstallation
- Incoming webhook
Tickets
Unarchive a ticket
This endpoint is only available for standard and enterprise tier organizations.
PATCH
/
v1
/
tickets
/
{id}
/
unarchive
curl --request PATCH \
--url https://platform.thena.ai/v1/tickets/{id}/unarchive \
--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>",
"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>"
}
}
Authorizations
Enter your API key
Path Parameters
Response
200
application/json
Operation successful
The response is of type object
.
curl --request PATCH \
--url https://platform.thena.ai/v1/tickets/{id}/unarchive \
--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>",
"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>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.