Authorization: Bearer ********************curl --location --request POST 'https://api-staging.tenbyte.io/v1/v1/libraries/314221a1-3cbf-4d3c-846e-f6c22bc43064/webhooks/endpoints' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://example.com/webhook",
"name": "Video processing events",
"events": [
"created",
"queued"
],
"secret": "auto-generate"
}'{
"data": {
"updated_at": "2025-10-15T13:06:54.816373335+06:00",
"created_at": "2025-10-15T13:06:54.816373335+06:00",
"library_id": "78542c6f-0dc1-4859-a122-35ad6f139827",
"updated_by": null,
"created_by": "2fa3fe27-ffcd-470b-becf-83f6f22a93ab",
"headers": null,
"name": "Video processing events",
"url": "https://example.com/webhooks/tenbyte",
"events": [
"uploaded",
"transcoded"
],
"id": "8e5f8558-50dc-453f-9c36-4e4e9033b36a",
"organization_id": "677826f5-1aea-4cba-8973-043cdbc60f35",
"is_active": true
},
"message": "Webhook Endpoint Created Successfully",
"success": true
}