Webhooks

Register a webhook (job.complete / job.failed)

Switched off: answers 410 and registers nothing, unless the server runs with job webhooks on. Registers an HTTPS endpoint that receives a POST when one of your jobs finishes. Body: {"event": "job.complete" | "job.failed", "data": {...}}. Headers: X-EPWTools-Event and X-EPWTools-Signature: sha256=<hex>, the HMAC-SHA256 of the raw body keyed with your secret. Verify it before trusting the payload, for example in Python: hmac.compare_digest(sig, 'sha256=' + hmac.new(secret.encode(), body, hashlib.sha256).hexdigest()). Delivery is attempted up to three times (immediately, after 5 s and after 30 s; 10 s timeout each; X-EPWTools-Attempt counts them) until your endpoint answers with a 2xx, or with a 4xx other than 408/429. Keep polling as a fallback for critical jobs.

post/api/webhooks

Request

  • Base URL
    https://epw.tools
  • Auth
    none declared. Required headers: X-API-Key

Headers

X-API-Key, string required

Request body

WebhookCreateBody required
url, string required
secret, string required

Shared secret used to sign the HMAC-SHA256 delivery header.

events, string

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 35 revisions of this API.