Skip to content
← Documentation

Webhooks

Planned webhook events so your system can react when a file is uploaded, finishes AI analysis, or changes in Polimake.

Coming soon This feature is not available yet. The guide describes how it will work; endpoints and fields may change before launch.

Available inCloud
Polimake~2 min read
On this page

Webhooks let Polimake notify your system when a file is uploaded, when AI analysis finishes and its keywords are indexed, or when a media object changes.

Status: preview contract. Webhooks may only be available under agreement or in private beta.

Planned events

EventWhen it happens
media.uploadedA file has been uploaded successfully.
media.analysis.completedAI analysis of a media object has finished.
media.updatedThe media object's metadata, status, or other fields change.
media.deletedA media object is deleted or marked as deleted.

Payload

{
  "id": "evt_01HX9T3VZV8R",
  "object": "event",
  "type": "media.analysis.completed",
  "created_at": "2026-06-04T10:03:00Z",
  "data": {
    "object": {
      "id": "media_01HX9R8K4Q2Z4T",
      "object": "media_object",
      "project_id": "brand-assets",
      "status": "ready"
    }
  }
}

Verification

When webhook signing becomes available, each request will include a header like this:

Polimake-Signature: t=1780567380,v1=SIGNATURE

Verify the signature before you trust the event.

Expected response

Your endpoint must respond with 2xx once it has processed the event.

HTTP/1.1 200 OK

If it returns 5xx, Polimake may retry the event according to the configured retry policy.

Best practices

Respond right away and hand heavy work to a background process.

Don't assume each event arrives exactly once. Make the handler idempotent with the event's id field: store the IDs you receive and drop duplicates. Keeping the events also lets you audit the integration later.

If you need the definitive state, fetch the media object through the API after the webhook arrives.

The API overview is in Build: integrate Polimake.