Remove a webhook
Removes the endpoint and revokes its signing secret. It stays in the list with status disabled, receives nothing, and cannot be resumed or changed. Removing it again returns 204. Scope: webhooks:manage.
bearerAuthorizationBearer <mosc_...>A client key (mosc_).
id*integerThe endpoint id.
0 < valueThe endpoint was removed. There is no body.
Example request
curl -X DELETE 'https://api.messageos.ai/v1/webhooks/42' \ -H 'Authorization: Bearer mosc_...'Example response
This answer has no body.
Register a webhook POST
Registers a public https address and the event types it receives. The signing secret is returned once. Private and local addresses are rejected. An agent can have 10 webhooks that are not disabled, counting the ones added in the dashboard. Scope: webhooks:manage.
Update a webhook PATCH
Changes status or event types. Set status to active to resume a paused endpoint. An endpoint removed with DELETE cannot be changed. Setting a disabled endpoint back to active or paused counts toward the 10 webhooks an agent can have that are not disabled. Scope: webhooks:manage.
