docs
SupportConsole

Callbacks

Events Superslice sends to your server, and how to verify them.

When a slice finishes, Superslice sends a POST to its callback_url. Without one, it uses the webhook URL set in the console. With neither, nothing is sent. Poll GET /v1/slices/{id} instead.

Events

EventSent when
slice.completedA slice succeeds, including on a cache hit
slice.failedA slice fails
testYou press Send test event in the console
json
{
  "event": "slice.completed",
  "event_id": "evt_01936f...",
  "created_at": "2026-12-03T10:00:04Z",
  "data": { "id": "job_01936f...", "status": "succeeded", "result": {} }
}

For slice events, data is the same object GET /v1/slices/{id} returns.

event_id is unique. The same event can arrive twice, so ignore ids you have seen.

Verify the signature

Every callback carries a header.

plaintext
Superslice-Signature: t=1763028004,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd
  1. Compute the hex HMAC-SHA256 of {t}.{raw request body} with your signing secret.
  2. Compare it to v1 in constant time.
  3. Reject the callback if t is more than 5 minutes from your clock.

Use the raw bytes. Parsing and re-encoding the JSON changes them. Reveal or rotate the secret in the console under Webhooks.

Every SDK has a verify that does this for you: Node.js, Python, Go, PHP, Ruby, Java, .NET and Rust.

Retries

Callback delivery: reply 2xx within 10 seconds, or retry three times, then mark failedPOST callback_url2xx within 10 s?redirect counts as noyesdeliverednowait 5 s, send again3 retries at most4th failuredelivery marked failedemail: once an hour at mostresult: GET /v1/slices/{id}resend: console, owners, admins

Reply with any 2xx within 10 seconds. A failed delivery is sent again 3 times, 5 seconds apart, then marked failed. The result stays available from GET /v1/slices/{id}.

Callback URLs must be HTTPS and resolve to a public address.