Skip to Content
TalonAPI and integrationsPublic M2M APIPublic M2M API — attachments

Public M2M API — attachments

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/attachments

Exported methods: GET, POST, DELETE

GET

  • Resource scopes: tickets:read
  • Query parameters: limit, messageId, page, ticketId
  • Shared pagination: Yes

POST

  • Resource scopes: tickets:write
  • Explicit response statuses: 201, 404, 422
  • Explicit error codes: invalid_request, not_found

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
fileNamestringNoNo—min(1), max(255)
fileSizenumberNoNo—int(), min(0), max(104_857_600)
fileTypestringNoNo—min(1), max(120)
fileUrlstringNoNo—url(), max(2048)
messageIdstringYesNo——
ticketIdstringNoNo—min(1)
uploadedBystringYesNo—default("api")

DELETE

  • Resource scopes: tickets:write
  • Query parameters: id
  • Explicit response statuses: 404, 422
  • Explicit error codes: invalid_request, not_found
  • Response keys observed across outcomes: id, ok

Provide a nonempty identifier either as query parameter id or JSON body field id; send one form at a time.