PUT/api/v2/referrals/alert-settings

PUT /api/v2/referrals/alert-settings

Authentication

Send your API key in the x-api-key header on every request.

Request body

application/json

Request body fields
FieldTypeRequiredDescription
EnabledbooleanNo
EmailRecipientsarray of stringNo
SlackWebhookSecretReferencestringNoDeployment-managed alias, never a webhook URL or token. Null removes Slack delivery.
ExposureThresholdPercentunknownNo
ExposureRecoveryPercentunknownNo
StaleCreditMinutesunknownNo
SampleWindowMinutesunknownNo
MinimumSampleSizeunknownNo
CreditFailureThresholdPercentunknownNo
ExcludedEventThresholdPercentunknownNo
CooldownMinutesunknownNo

Responses

200 — OK

Response 200 fields
FieldTypeRequiredDescription
SettingsReferralAlertSettingsRequestYes
SlackWebhookConfiguredbooleanYes
UpdatedAtstring (date-time)Yes
UpdatedByUserIdunknownYes
WorkerEnabledbooleanNo

Example request

curl -X PUT "https://{base_url}/api/v2/referrals/alert-settings" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

This page is generated from the live OpenAPI specification and always matches the current API.