Documentation Index
Fetch the complete documentation index at: https://docs.hooked.so/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Instead of polling the Get Video Details endpoint, configure a webhook URL when creating a video to receive a notification when processing completes.Recommended: Always use webhooks for production applications. Polling is inefficient and can hit rate limits.
Setting Up Webhooks
Include awebhook URL in your video creation request:
Webhook Payload
When your video completes, Hooked sends aPOST request to your webhook URL:
Success
Failure
Payload Fields
| Field | Type | Description |
|---|---|---|
event | string | project.completed or project.failed |
projectId | string | The project ID |
status | string | completed or failed |
video | object | Video details (only when completed) |
video.url | string | Download URL (expires in 7 days) |
video.duration | number | Duration in seconds |
video.thumbnail | string | Thumbnail image URL |
message | string | Error message (only when failed) |
Implementation Example
Retry Policy
If your endpoint doesn’t return a200 status, Hooked retries:
| Attempt | Delay |
|---|---|
| 1st retry | 1 minute |
| 2nd retry | 5 minutes |
| 3rd retry | 15 minutes |
Related
Webhooks Guide
In-depth webhook guide with security and testing
Get Video Details
Poll video status as an alternative
List Videos
View all your videos
Error Handling
Handle errors gracefully