Skip to main content
Tickets2026.8.0

Add ticket attachment

Records a metadata row for an existing file in storage and associates it with the specified ticket.

POST/api/v1/support/tickets/{ticket_id}/attachments

The 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 authentication

Path parameters

ticket_idstring (uuid)Required

Ticket identifier

Query parameters

None declared in this export.

Header parameters

None declared in this export.

Request body

application/json · Required

file_namestringRequired

Original file name

storage_pathstringRequired

Supabase Storage path to the uploaded file

Responses

200

Attachment recorded successfully.

attachmentobjectRequired

No 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?