Add ticket attachment
Records a metadata row for an existing file in storage and associates it with the specified ticket.
/api/v1/support/tickets/{ticket_id}/attachmentsThe source export uses a local development server. Examples use the configured Dashio API origin.
The export references authentication schemes without supplying their definitions.
Authentication
bearerAuth
Understand authenticationPath parameters
ticket_idstring (uuid)RequiredTicket identifier
Query parameters
None declared in this export.
Header parameters
None declared in this export.
Request body
application/json · Required
file_namestringRequiredOriginal file name
storage_pathstringRequiredSupabase Storage path to the uploaded file
Responses
200
Attachment recorded successfully.
attachmentobjectRequiredNo field description supplied.
400
Invalid ticket id or missing file data.
No response body schema supplied.
401
Unauthenticated.
No response body schema supplied.
404
Ticket not found.
No response body schema supplied.
500
Failed to add attachment.
No response body schema supplied.
Was this helpful?