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

Public M2M API — webhooks

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

Exported methods: GET, POST, DELETE

GET

  • Resource scopes: config:read
  • Response keys observed across outcomes: data

POST

  • Resource scopes: config:write
  • Explicit response statuses: 201, 422
  • Explicit error codes: invalid_request

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
enabledbooleanYesNo—default(true)
eventsarrayYesNo——
namestringNoNo—min(1), max(120)
secretstringYesNo——
urlstringNoNo—url()

DELETE

  • Resource scopes: config:write
  • Query parameters: id
  • Explicit response statuses: 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: deleted, id

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

/api/v1/webhooks/{id}

Exported methods: GET, PATCH, DELETE

GET

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

PATCH

  • Resource scopes: config: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
enabledbooleanYesNo——
eventsarrayYesNo——
namestringYesNo—min(1), max(120)
secretstringYesNo——
urlstringYesNo—url()

DELETE

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

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