Rivier/ Reference/ content

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/json
    Success
    • idstring (uuid)required
    • secretstringrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown