POST
/
api
/
v1
/
webhook
/
subscribe
Subscribe To Webhook
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"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Headers

Authorization
string
required

The bearer token to authenticate with

Body

application/json
url
string
required

The URL to send the webhook to

event
enum<string>
required

The event to subscribe to

Available options:
presentation.generation.completed,
presentation.generation.failed
secret
string | null

The secret to use for the webhook

Response

Successful Response

id
string<uuid>
required