Skip to main content
Pass an HTTPS endpoint in the hf_webhook query parameter when submitting generation. Higgsfield sends one or more HTTP POST deliveries after the request reaches completed, failed, or nsfw.

Configure a webhook

Your endpoint must be publicly reachable over HTTPS, accept a JSON request body, and respond within ten seconds.

Payload envelope

All deliveries use the same top-level envelope. Successful output is nested in payload.
Audio responses contain payload.audio. Some video and 3D operations can also include zip, mov, jsx, fbx, or ply artifacts.

Delivery and retries

  • Return any 2xx response after durably recording the event.
  • Network failures and 5xx responses are retried for up to two hours.
  • 4xx responses are treated as permanent and are not retried.
  • Duplicate deliveries are possible. Deduplicate by request_id and terminal status.
  • If delivery fails permanently, retrieve the result through the authenticated status endpoint.
Reject request bodies that do not match the documented envelope, but acknowledge valid duplicate deliveries with 2xx.