Introduction
- API Reference
- Platform
- Platform APIs
- Login & sign up
- Organizations
- SLA duration
- Users
- Teams
- Tickets
- Core operations
- Assignment & escalation
- Relationships
- Comments & attachments
- Time tracking
- Status management
- Type management
- Priority management
- Tag management
- Ticket tags
- Other operations
- Comments & reactions
- Custom fields
- Forms
- Draft tickets
- Accounts & contacts
- Custom objects
- Workflows
- SLA
- Storage
- Notifications
Attach a file to a ticket
curl --request POST \
--url http://localhost:8000/v1/tickets/{id}/attachments \
--header 'Authorization: Bearer <token>'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"title": "<string>",
"ticketId": 123,
"description": "<string>",
"accountId": "<string>",
"status": "<string>",
"priority": "<string>",
"account": "<string>",
"teamId": "<string>",
"teamName": "<string>",
"isPrivate": true,
"typeId": "<string>",
"type": "<string>",
"assignedAgent": "<string>",
"assignedAgentId": "<string>",
"requestorEmail": "<string>",
"submitterEmail": "<string>",
"customFieldValues": [
"<string>"
],
"deletedAt": "<string>",
"archivedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
Authorizations
Enter the bearer token
Path Parameters
Response
The status of the response
The message of the response
The timestamp of the response
The response for create/update/delete ticket operations
The unique identifier of the ticket
The title of the ticket
The ticket ID of the ticket
The description of the ticket
The account ID of the ticket
The status of the ticket
The priority of the ticket
The account of the ticket
The team ID of the ticket
The name of the 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 requestor 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
curl --request POST \
--url http://localhost:8000/v1/tickets/{id}/attachments \
--header 'Authorization: Bearer <token>'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"title": "<string>",
"ticketId": 123,
"description": "<string>",
"accountId": "<string>",
"status": "<string>",
"priority": "<string>",
"account": "<string>",
"teamId": "<string>",
"teamName": "<string>",
"isPrivate": true,
"typeId": "<string>",
"type": "<string>",
"assignedAgent": "<string>",
"assignedAgentId": "<string>",
"requestorEmail": "<string>",
"submitterEmail": "<string>",
"customFieldValues": [
"<string>"
],
"deletedAt": "<string>",
"archivedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}