Attach files to a ticket
add_ticket_attachmentsLink already uploaded files to a support ticket using file IDs. Skips existing attachments and cannot edit closed or invalid tickets.
Instructions
Link already uploaded files to a ticket by their file ids. Files that are attached already are skipped, and the API rejects a call that would add nothing. Tickets in the states closed or invalid are locked by the API and reject edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Access token of a private project. Only needed without an API key, or for projects behind a private link. | |
| fileIds | Yes | File ids returned by upload_attachment. | |
| ticketId | Yes | Ticket the files are attached to. |