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

Public M2M API — approvals

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/approvals

Exported methods: GET, POST

GET

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

POST

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

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
decisionenumNoNoAPPROVED, EDITED_AND_APPROVED, REJECTED—
editedPayloadobjectYesNo——
idstringNoNo—min(1)
rejectionReasonstringYesNo—max(1000)

/api/v1/approvals/{id}

Exported methods: GET, PATCH, DELETE

GET

  • Resource scopes: tickets:read
  • Path parameters: id
  • Explicit response statuses: 404
  • Explicit error codes: not_found

PATCH

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

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
decisionenumNoNoAPPROVED, EDITED_AND_APPROVED, REJECTED—
editedPayloadobjectYesNo——
rejectionReasonstringYesNo—max(1000)

DELETE

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

Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.