Subscribes a URL to a comment event (REST hook subscribe). Subscribing the same URL to the same event and domain again returns the existing subscription. Deliveries are HMAC signed, see the webhooks guide; the legacy token header is never sent to API subscriptions.

post/api/v1/webhooks

Request

  • Base URL: https://fastcomments.com
  • URL: https://fastcomments.com/api/v1/webhooks
  • Auth: API key in header x-api-key

Query parameters

tenantIdstring required

Request body

urlstring required

Where events are delivered. Must be http(s).

event'comment-created' | 'comment-updated' | 'comment-deleted' required
domainstring

A domain from your account configuration, or '*' (the default) for every domain.

method'PUT' | 'DELETE' | 'POST'

Response

Ok

status'success' | 'failed' required

Changes

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