Sume webhook Redeliver vs Send test: which one replays a real job?

Send test posts a dummy webhook.test payload to a URL you type. Redeliver re-posts a real job's terminal event with a fresh signature. API routes for both.

5 min readSume
All posts

Use Redeliver to replay a real Sume job event, and Send test to check that your endpoint verifies signatures. Send test posts a dummy webhook.test body to a URL you type. Redeliver re-posts that job's actual job.completed, job.failed or job.canceled event with a fresh timestamp and signature.

Send test

It is a control on /dashboard/webhooks, and the API route is POST /v1/webhooks/test-deliveries with account:write. The payload is signed but contains no job_id, and Sume does not add it to your request list. Use it after you deploy a verifier or change the URL.

{
  "event": "webhook.test",
  "payload": { "ok": true,
    "message": "Sume webhook test. Not a job or Format run." }
}

Redeliver

Redeliver works per delivery row in the dashboard, or with POST /v1/jobs/{job_id}/webhook/redeliver and the jobs:write scope. It sends the real terminal event again, signed freshly, so the replay passes a timestamp check even days later. It still works after the automatic attempts are used up, and it does not consume one of them.

Which to pick

SituationUse
New endpoint, want to check the signature codeSend test
Your handler was down and a job event was missedRedeliver
Handler bug fixed, need to reprocess one jobRedeliver
Checking that Sume can reach a URLSend test

Make replays safe

Both can reach you more than once, as can automatic retries. Store the event durably, key on job_id, and treat a second delivery of the same job as a no-op. Return any 2xx once it is stored.

Scopes and paths

Both routes need an API key with the right scope, so a read-only key will get a permission error. Send test requires account:write. Redeliver requires jobs:write. Reading the signing secret needs account:read.

Redeliver only exists for job webhooks that were configured with a webhook_url. Run webhooks for Actions, Formats and Agent Completions share the signature scheme and the secret, but they have their own *.run.terminal events.

Related posts

More in Developers

All Developers posts

Written by Sume