LLitMediaAPI Docs

Webhooks

Instead of polling, your server can be notified when a generation task finishes. The platform POSTs the result to your callback endpoint.

!

This page is a draft. The public webhook contract (registration flow, payload fields and signing scheme) is still being finalized. Until then, use Task Status polling.

How it works

  1. You register a callback URL for your account (contact us to configure).
  2. When a task transitions to a terminal state, the platform delivers a result notification to that URL.
  3. Your endpoint acknowledges with HTTP 200; anything else is treated as a delivery failure and retried.

Callback delivery

POST your://callback-url Draft

Planned payload shape for a completed video task:

PAYLOAD
{
  "id": 10293847,
  "status": "success",
  "video_url": "https://.../output.mp4",
  "timestamp": 1753248000
}

Verifying callbacks

Callback requests carry a challenge parameter on registration so your endpoint can prove ownership of the URL. A signed delivery header will be introduced with the final contract; verify it before trusting a payload.

Best practices

On this page