Documentation

Webhooks

Signed notifications when a video is ready, failed or was canceled.

Set an endpoint URL in API and MCP (Growth and Scale plans). Pixamake sends a POST request with a JSON body for these events:

Event When
job.succeeded Smart Remover: the clean video is ready
job.failed Processing failed (credits returned)
job.canceled The job was canceled
caption.succeeded Smart Editor: the exported video is ready
caption.failed Smart Editor: transcription or export failed, or the automatic export could not start (credits returned)
translation.succeeded Translation Studio: the translation is finished, at least one language is ready (data.object is the translation). Some languages may have failed: read targets[]
translation.failed Translation Studio: the translation failed or no language succeeded (credits returned)
translation.canceled Translation Studio: the translation was stopped
translation.awaiting_review Translation Studio: it waits for your approval (options.review): review_stage is detection (the whole translation) or script (one language, target_id)
translation.target.succeeded Translation Studio: one language is ready, without waiting for the others (data.object is the language as in targets[], with translation_id and metadata). Sent again when its edit is exported again
translation.target.failed Translation Studio: one language failed (its credits returned)
lipsync.succeeded, lipsync.failed Lip sync: the synced video is ready, or it failed (credits returned)
voiceover.succeeded, voiceover.failed Voice Studio: the voice-over is ready, or it failed (credits returned)
music_project.succeeded, music_project.failed AI Music Studio: the versions are ready, or the generation failed (credits returned)
ad_analysis.succeeded Ad Decoder and Competitor Library: the analysis of an ad is ready (data.object is the ad)
ad_analysis.failed Ad Decoder and Competitor Library: the analysis of an ad failed (credits returned)
image_ad.succeeded Static Studio: at least one image of the request is ready (data.object is the request)
image_ad.failed Static Studio: no image could be made (credits returned)
ai_video.awaiting_review AI Video Studio: every keyframe of a video asked with review is made, it waits for its approval (data.object is the AI video)
ai_video.succeeded AI Video Studio: at least one market of the video is exported
ai_video.failed AI Video Studio: the video failed (credits returned when its shots were not assembled yet)
ai_video.canceled AI Video Studio: the video was stopped
webhook.test Sent with the Send test event button

The lip syncs, voice-overs and songs a Translation Studio language makes for itself send no event of their own: its translation.target.* says it.

A translation can also give its own webhook_url: its events go to it as well, signed with the same secret. Each environment (production, test) sharing one workspace then gets its own events.

Payload

{
  "id": "evt_9sKq2mT4nVb7Lx3Rp8Wc",
  "object": "event",
  "type": "job.succeeded",
  "created_at": "2026-10-04T13:09:58.012Z",
  "data": { "object": { "id": "job_3kT9xQ2vLm8RfZp1Wq7a", "object": "job", "status": "succeeded", "result": { "url": "https://..." } } }
}

data.object is the full job object. Its result.url expires after one hour: download right away, or fetch the job later for a fresh link.

Verify the signature

Each request has a Pixamake-Signature header:

Pixamake-Signature: t=1791119398,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd

v1 is the hex HMAC SHA-256 of "{t}.{raw body}" with your signing secret (whsec_...). Compare in constant time and refuse timestamps older than 5 minutes.

import { createHmac, timingSafeEqual } from "node:crypto";
 
export function verify(rawBody: string, header: string, secret: string) {
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
  const expected = createHmac("sha256", secret).update(`${parts.t}.${rawBody}`).digest("hex");
  const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
  return fresh && expected.length === parts.v1?.length && timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}
import hashlib, hmac, time
 
def verify(raw_body: bytes, header: str, secret: str) -> bool:
    parts = dict(p.split("=", 1) for p in header.split(","))
    expected = hmac.new(secret.encode(), f"{parts['t']}.".encode() + raw_body, hashlib.sha256).hexdigest()
    return abs(time.time() - int(parts["t"])) < 300 and hmac.compare_digest(expected, parts.get("v1", ""))

Always verify against the raw request body, before parsing the JSON.

Delivery and retries

  • Answer with any 2xx status within 15 seconds. Do the heavy work after answering.
  • Failed deliveries are retried after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 12 hours.
  • Deliveries can arrive more than once or out of order: use the event id and the job status to process each change once.
  • Redirects are not followed, and the URL must be public (https in production).
  • You can rotate the signing secret at any time from the dashboard.

Catch up on missed events

GET /v1/events lists the events of the last 30 days, most recent first (type, created_after, limit, starting_after), each with its deliveries to each address (status, attempts, last HTTP status). POST /v1/events/{id}/resend sends one again now, with the same id and body. A server down longer than the last retry (12 hours) catches up there.