Skip to main content

Create Ticket

Learn how to create a ticket in TexResolve.

Request

  • Method: POST
  • Endpoint: https://tex-resolve-backend.onrender.com/api/v1/tickets

Body Parameters

  • Ticket Details: Enter the details for the ticket.

title="Ticket Schema"

ParameterTypeDescription
titleStringTitle of the issue
categoryStringCategory of the issue
descriptionStringDetailed issue description
attempted_solutionStringSteps attempted to resolve the issue
attachments?FileOptional file attachments
tags?String[]Array of tags

Here's an example request body for creating a ticket:

creating ticket example
{
"title": "Login Issue",
"description": "Unable to log in with correct credentials.",
"attempted_solution": "Tried resetting password and clearing cache.",
"tags": ["login", "authentication"],
"attachments": [file1.png, file2.png]
}

Responses

Success

statusCode 201: success
Ticket created successfully

Errors

statusCode 401: Authentication error
User token is not valid or does not exist or expired
statusCode 400: Bad Request
Invalid request parameters or failed to upload attachments
statusCode 500: Internal Server Error
Try again or restart service