Upload an Attachment

Uploads an attachment to a Help Desk ticket.
Upload an Attachment
 last updated: 
January 31, 2022

While uploading an attachment, you'll need to pass the sd-api-key and sd-dashboard-user-email in the header.

ENDPOINT

  1. POST /v1/ticket/:id

REQUEST

  1. curl --location --request POST 'https://test-api.solidfi.com/v1/ticket/file' \
  2. --header 'sd-api-key;' \
  3. --header 'sd-dashboard-user-email;' \
  4. --form 'attachment=@"/path/to/file"'

Response

  1. {
  2.     "token": "2GC43itXibOsggnLYID7EP6fA"
  3. }

You can update a ticket, by passing the token of the attachment.