cURL
curl --request PATCH \ --url https://api.optimaldial.com/api/v1/webhooks/{webhook_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "description": "<string>", "events": [ "upload.created" ], "is_active": true } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "url": "<string>", "events": [ "upload.created" ], "is_active": true, "consecutive_failures": 1, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "description": "<string>", "verified_at": "2023-11-07T05:31:56Z", "last_success_at": "2023-11-07T05:31:56Z", "last_failure_at": "2023-11-07T05:31:56Z", "disabled_at": "2023-11-07T05:31:56Z" }
OptimalDial API key, prefixed od_live_, sent as Authorization: Bearer .... Mint keys in the in-app developer panel; they are scoped to a single organization.
od_live_
Authorization: Bearer ...
500
upload.created
upload.completed
upload.failed
Updated endpoint.
x >= 0