Skip to main content

Introduction

From our side, we will provide you:

  • GraphQL API endopoint
  • GraphQL Playground URL
  • File upload endpoint
  • File download endpoint

It is imperative that all requests made to the endpoints mentioned above include an Authorisation header with a Bearer token obtained during login. This ensures secure and authorized access to the necessary resources. Only public queries do not require authentication.

File Upload

For file upload you should send multipart/form-data to uploadEndpoint with following fields:

  • files: append files to this property.
  • ticketId: add ticketId to tie files to the ticket.
  • description: provide description if desired.

File Download

To download file, you'll need to run GET request to the downloadEndpoint and provide fileId.

{
responseType: 'blob',
params: { id: fileId }
}