cURL
curl --request POST \ --url https://api.presenton.ai/api/v1/webhook/subscribe \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "event": "presentation.generation.completed", "secret": "<string>" } '
{ "id": "<string>" }
Subscribe to a webhook.
Create an API Key from your account to access this endpoint. Authorization: Bearer sk-presenton-xxxxxxxx
The bearer token to authenticate with
The URL to send the webhook to
The event to subscribe to
presentation.generation.completed
presentation.generation.failed
The secret to use for the webhook
Successful Response
Was this page helpful?