v1
latestOpenAPI 3.1.02026-08-04127114.4 KBWebhook Configurations
Create or Update Webhook Configuration
Create a new webhook configuration or update an existing one. Your client_id and tenant_id are automatically inferred from the bearer token on this request. To set up a webhook for a specific tenant, please ensure that the bearer token on this request as a tenant_id claim. If your bearer token lacks a tenant_id, the webhook will be created for your single-tenant environment.
- If a configuration already exists for the same client/tenant/webhook_type combination, it will be updated.
- If tenant_id is provided, your client must have a relationship with that tenant.
- Omit tenant_id to set the default callback URL for your client.
put/webhook-configurations
Request body
Example request
{
"callback_url": "https://your-server.com/webhooks/enrichment"
}Response
Webhook configuration created or updated successfully.
Example response
{
"webhook_configuration": {
"id": 1,
"client_id": "your-client-id",
"tenant_id": "TEN-123456",
"callback_url": "https://your-server.com/webhooks/enrichment",
"created_at": "2024-01-15T10:00:00.000Z",
"updated_at": "2024-01-15T10:00:00.000Z"
}
}