Menu · Webhook subscriptions
Webhook subscriptions

Create a subscription

POSThttps://api.ruuster.com/v1/webhooks

Subscribe a URL you host to lead events. Returns 201 and the signing secret, which is shown only once.

  • Authentication: x-api-key and x-email headers of an owner or admin
  • Rate limit: 120 requests per minute per key
  • Changes only your webhook subscriptions, never your Ruuster data
View as Markdown

Body

JSON, Content-Type: application/json, at most 64 KB.

Name Type Required Description
url string yes Public https:// URL with a valid certificate. No credentials, private, loopback or link-local addresses
events string[] yes Event kinds, or lead.* for every lead kind including ones added later. See Event catalog
description string no Your label

Response

201 Created with the subscription object (see List subscriptions) plus secret (whsec_…). Store the secret now: it isn't returned again. If you lose it, rotate it. Use it to verify every delivery.

Errors: 400 invalid_parameter (missing or unknown field, unknown event kind), 400 url_not_allowed, 409 subscription_limit_reached (10 per brokerage).