Webhooks
Create webhook
Changed onpost/api/webhooks
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- Auth
- API key in cookie __Host-mc-session
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Webhook created. Secret is only shown in full on creation.
Changes
- info
endpoint added
- info