cURL
curl --request PATCH \ --url https://api.us.poly.ai/v1/webhook-endpoints/{endpoint_id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "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": {} }
1 - 255
^https://
1
alerts.triggered
alerts.resolved
Show child attributes
1000 <= x <= 30000
Webhook endpoint updated successfully.
Was this page helpful?