Attach files via API Follow


You can attach files to tickets using our API. For example, attach a photo to a ticket. 


When a file is attached to a ticket, its visibility becomes restricted to only users with access to the ticket. Until the attachment is associated with a ticket, any authenticated user can view an attachment using its content_URL. Tokens expire after three days.


1. Use our Uploading files API, which returns a token.

2. Include the token in a ticket comment while creating or updating a ticket.


  "ticket": {
    "comment":  { "body": "See screenshot.", "uploads":  ["vz7ll9ud8oofowy"] }
Have more questions? Submit a request


Please sign in to leave a comment.

Powered by Zendesk