The Support Ticket Object
Overviewβ
The Support Ticket object represents customer support tickets and their threads for customer support and issue tracking. This object contains all the information needed to manage and track support requests.
Attributesβ
titleβ
Type: String
Required: Yes
The title or subject of the support ticket.
descriptionβ
Type: String
Required: Yes
Detailed description of the issue or request.
statusβ
Type: String
Required: Yes
Current status of the support ticket. Can be:
open- Ticket is open and awaiting responsepending- Ticket is pending actionin_progress- Ticket is being worked onresolved- Ticket has been resolvedclosed- Ticket is closed
priorityβ
Type: String
Required: Yes
Priority level of the ticket. Can be:
low- Low prioritymedium- Medium priorityhigh- High priorityurgent- Urgent priority
categoryβ
Type: String
Required: Yes
Category of the support ticket. Can be:
technical- Technical issuesbilling- Billing and payment issuesaccount- Account-related issuesfeature_request- Feature requestsgeneral- General inquiries
clientβ
Type: ObjectId
Required: Yes
Reference to the client who created the ticket.
assignedToβ
Type: ObjectId
Required: No
Reference to the support agent assigned to handle the ticket.
threadsβ
Type: Array
Required: No
Array of message threads in the ticket:
author- Author of the messagemessage- Message contenttimestamp- When the message was senttype- Type of message (user, agent, system)
attachmentsβ
Type: Array
Required: No
Array of file attachments:
filename- Name of the fileurl- URL to access the filesize- File size in bytestype- File type/MIME type
tagsβ
Type: Array
Required: No
Array of tags for categorizing and filtering tickets.
resolutionβ
Type: String
Required: No
Resolution details when the ticket is resolved.
createdAtβ
Type: Date
Required: Yes
Timestamp when the support ticket was created.
updatedAtβ
Type: Date
Required: Yes
Timestamp when the support ticket was last updated.
resolvedAtβ
Type: Date
Required: No
Timestamp when the ticket was resolved.
Example Objectβ
{
"_id": "support_ticket_123456789",
"title": "API Integration Issue",
"description": "Having trouble integrating the biometric validation API. Getting 401 errors.",
"status": "in_progress",
"priority": "high",
"category": "technical",
"client": "client_123456789",
"assignedTo": "agent_123456789",
"threads": [
{
"author": "client_123456789",
"message": "I'm getting 401 errors when trying to use the biometric validation endpoint.",
"timestamp": "2024-01-15T10:30:00Z",
"type": "user"
},
{
"author": "agent_123456789",
"message": "I've reviewed your API key and it appears to be valid. Let me check the logs.",
"timestamp": "2024-01-15T11:00:00Z",
"type": "agent"
}
],
"attachments": [
{
"filename": "error_logs.txt",
"url": "https://storage.verifik.co/attachments/error_logs.txt",
"size": 1024,
"type": "text/plain"
}
],
"tags": ["api", "authentication", "biometric"],
"resolution": null,
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T11:00:00Z",
"resolvedAt": null
}