Ticket

The "Ticket" section comprises endpoints for creating, deleting, and managing tickets for users. This section empowers users to initiate, remove, and efficiently handle support tickets, ensuring effective communication and issue resolution with the support team.

Create ticket

POST {{BASE_URL}}/api/tickets

Create a ticket for the support team.

Headers

NameTypeDescription

Authorization*

String

Bearer Token

Request Body

NameTypeDescription

content*

String

message

subject*

String

subject

files*

[String]

[123456] | []

"1990418667"

Get tickets

GET {{BASE_URL}}/api/tickets

Get all the tickets that the customer has created.

Headers

NameTypeDescription

Authorization*

String

Bearer Token

[
    {
        "id": "1990450156",
        "createdAt": 1699351160000,
        "lastActivity": 1699351160971,
        "stage": 1,
        "subject": "Test"
    },
    {
        "id": "1990418667",
        "createdAt": 1699351201000,
        "lastActivity": 1699351201546,
        "stage": 1,
        "subject": "test1"
    }
]

Get ticket

GET {{BASE_URL}}/api/tickets/{id}

Get information on a specific ticket.

Path Parameters

NameTypeDescription

id*

String

Ticket ID (1990418667)

Headers

NameTypeDescription

Authorization*

String

Bearer Token

{
    "id": "1990418667",
    "createdAt": 1699351201000,
    "updatedAt": 1699351202000,
    "content": "test1",
    "stage": 1,
    "subject": "test1"
}

Create nested

POST {{BASE_URL}}/api/tickets/{id}

Add another ticket to an already created ticket.

Path Parameters

NameTypeDescription

id*

String

Ticket ID (1990418667)

Headers

NameTypeDescription

Authorization*

String

Bearer Token

Request Body

NameTypeDescription

content*

String

message

subject*

String

subject

files*

[String]

[123456] | []

{}

Close ticket

DELETE {{BASE_URL}}/api/tickets/{id}

Close a specific ticket.

Path Parameters

NameTypeDescription

id*

String

Ticket ID (1990418667)

Headers

NameTypeDescription

Authorization*

String

Bearer Token

{}

Last updated