Add a webhook endpoint; the signing secret is returned once
post/cms/webhooks
Before you call
- Credential
Authorization: Bearer $KEY- Scope
content:admin- Graphql
Mutation.contentWebhookCreate- Sdk
content.webhook.create- Cli
content webhook create
Request bodyapplication/json, required
- urlstring (uri)required
- eventslist of string
Responses
- 201application/jsonSuccess
- idstring (uuid)required
- secretstringrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring