Body
-
description string
A human-readable description of the webhook endpoint.
-
The URL of the webhook endpoint.
POST
/api/v1/webhook_endpoints
curl \
-X POST https://api.1099policy.com/api/v1/webhook_endpoints \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/my/webhook/endpoint","description":"Webhook for contractor insurance application events."}'
Request example
{
"url": "https://example.com/my/webhook/endpoint",
"description": "Webhook for contractor insurance application events."
}
Response examples (201)
{
"created": "2024-01-06T05:30:39.373Z",
"description": "string",
"id": "whe_KPGc5vEZdvoETu39BNwu2Z",
"secret": false,
"url": "https://example.com/my/webhook/endpoint"
}