Add a webhook endpoint; the response carries its signing secret, once

post/api/webhooks

Request

  • Base URL: https://postwire.io
  • URL: https://postwire.io/api/webhooks
  • Auth: HTTP bearer

Request body

urlstring uri required

A public https URL. Redirects are not followed.

eventsstring[]

Default: post.published, post.failed and connection.reauth_required. approval.requested and approval.decided are sent only to an endpoint that lists them.

descriptionstring

Response

{ webhook: Webhook, secret: "whsec_…" } — keep the secret: it is not shown again

Changes

No recorded changes to this operation across all 1 revision of this API.