Relativity6Platform Docs
POST/v2/webhooksBeta

Create a webhook

Registers an HTTPS endpoint that receives a signed POST when one of your risk jobs reaches a terminal state. The signing secret is returned only on this response — store it immediately.

Beta. This endpoint is available for production integrations, but fields, categories, and credit weights may change without a version pin.

Base URLhttps://api.relativity6.com

Authentication

Send your API key in the x-api-key header. Send your organization API key.

Request body

FieldTypeRequiredDescription
urlstringRequiredHTTPS URL to receive deliveries. HTTP is rejected.
eventsstring[]OptionalLifecycle events to receive. Defaults to both terminal events when omitted.job.completed · job.failed
descriptionstringOptionalOptional label for this subscription (max 256 characters).

Response

FieldTypeRequiredDescription
idstringRequiredSubscription id. Use it to delete the webhook later.
urlstringRequiredThe registered HTTPS endpoint.
eventsstring[]RequiredEvents this subscription receives.
descriptionstringOptionalOptional label.
activebooleanRequiredWhether the subscription is active.
createdAtstring (ISO 8601)OptionalWhen the subscription was created.
secretstringRequiredSigning secret. Returned only once — never on list.

Errors

StatusDescription
201Subscription created. Persist the secret immediately.
400Invalid URL or events (HTTPS is required).
401Missing or invalid API key.
403Organization is not authorized for Risk API v2.
500Server error.

Example request

Example response