Webhooks
Create webhook consumer
Changed onUse the Create webhook consumer endpoint to create a new webhook consumer that will listen to messages we send you.
Webhook consumer is an HTTP endpoint that you configure to subscribe to specific events. See our documentation for more details on Codat's webhook service.
Tips and traps
- The number of webhook consumers you can create is limited to 50. If you have reached the maximum number of consumers, use the Delete webhook consumer endpoint to delete an unused consumer first.
post/webhooks
Request
- Base URLhttps://api.codat.io
- URLhttps://api.codat.io/webhooks
- AuthAPI key in header Authorization
Request body
Webhook Consumer Prototype required(unresolved $ref)
Response
OK
Example response
{
"id": "8a210b68-6988-11ed-a1eb-0242ac120002"
}Changes
- breaking
the response property
became nullable for the status - warning
removed the request property
- warning
removed the optional property
from the response with the status - info
the request property
became nullable
- breaking
- info
added the new optional request property
- info