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:
webhooks:read - Query parameters:
limit,page - Shared pagination: Yes
- Response keys observed across outcomes:
data,pagination,webhooks
POST
- Resource scopes:
webhooks:write - Explicit response statuses:
201,400,404,422 - Explicit error codes:
invalid_request,not_found,webhook_error - Response keys observed across outcomes:
data,delivery,webhook
Validated request fields
DELETE
- Resource scopes:
webhooks:write - Query parameters:
id,webhookId - Explicit response statuses:
400,404 - Explicit error codes:
invalid_request,not_found - Response keys observed across outcomes:
deleted,id
Provide a nonempty webhook identifier as id or webhookId in query or JSON. Verify the selected webhook and resulting deletion before retrying.
JSON properties observed: id, webhookId.
These names are read by the handler; they are not a complete schema or a promise that every property applies to every branch. Check the validation messages and operation result.
/api/v1/webhooks/{id}
Exported methods: GET, PATCH, DELETE
GET
- Resource scopes:
webhooks:read - Path parameters:
id - Query parameters:
includeDeliveries - Explicit response statuses:
404 - Explicit error codes:
not_found - Response keys observed across outcomes:
webhook
PATCH
- Resource scopes:
webhooks:write - Path parameters:
id - Explicit response statuses:
404,422 - Explicit error codes:
invalid_request,not_found - Response keys observed across outcomes:
webhook
Validated request fields
DELETE
- Resource scopes:
webhooks:write - Path parameters:
id - Explicit response statuses:
404,500 - Explicit error codes:
internal_error,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.