assets.dev docs

Webhooks

Get told when a render finishes instead of polling.

Register an endpoint with POST /api/v1/webhooks. assets.dev signs every delivery: verify the X-Studio-Signature header as an HMAC-SHA256 over <timestamp>.<body>. Deliveries can repeat, so store event IDs and ignore duplicates.

Events

  • render.completed — Delivered when a queued render finishes and the file is available.
  • render.failed — Delivered when a render fails after queue acceptance and any automatic refund has been applied.

A failed render is refunded automatically; its render.failed payload carries refunded: true.

Payloads

Request Body

application/json

Render completed webhook

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

Example Requests

POST/render.completed

Request Body

application/json

Render failed webhook

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

Example Requests

POST/render.failed

On this page