Update a webhook endpoint
Authentication
X-API-KEYstring
PolyAI API key. Send it in the X-API-KEY header.
Path parameters
endpoint_id
The endpoint_id must be a prefixed ID (e.g. whe_9ZtRcXw3nByK5pVqMaEfJs).
Request
This endpoint expects any.
Response
Webhook endpoint updated successfully.
id
Unique webhook endpoint ID.
name
Human-readable name for the webhook endpoint.
url
HTTPS URL that receives webhook POST requests.
enabled
Whether the endpoint is active and receiving events.
event_types
Event types this endpoint is subscribed to.
Allowed values:
timeout_ms
Request timeout in milliseconds (1000-30000).
created_at
Timestamp when the endpoint was created.
updated_at
Timestamp when the endpoint was last updated.
headers
Custom HTTP headers sent with each webhook request.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error

