cURL
curl --request PATCH \ --url https://api.poly.ai/v1/webhook-endpoints/{endpoint_id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "data": { "type": "webhook-endpoints", "id": "ff44ff44-aa55-bb66-cc77-dddddddddddd", "attributes": { "url": "https://example.com/webhooks/polyai-v2", "enabled": false } } } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "url": "<string>", "enabled": true, "event_types": [ "alerts.triggered" ], "timeout_ms": 5000, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "headers": {} }
Show child attributes
Webhook endpoint updated successfully.
1 - 255
alerts.triggered
1000 <= x <= 30000
Was this page helpful?