While uploading an attachment, you'll need to pass the sd-api-key and sd-dashboard-user-email in the header.
ENDPOINT
- POST /v1/ticket/:id
REQUEST
- curl --location --request POST 'https://test-api.solidfi.com/v1/ticket/file' \
- --header 'sd-api-key;' \
- --header 'sd-dashboard-user-email;' \
- --form 'attachment=@"/path/to/file"'
Response
- {
- "token": "2GC43itXibOsggnLYID7EP6fA"
- }
You can update a ticket, by passing the token of the attachment.