Skip to main content
Set callback_url to receive an HTTP POST when a function, endpoint, or task-queue invocation finishes:

Payload and Headers

For the example above:
This format applies to JSON return values. Custom HTTP responses use a different format.

Per-request URLs

Pass callback_url with a request to override the decorator. Endpoint and task-queue handlers must accept it or **inputs. It is removed before calling one-off function handlers.

Verify Signatures

Use the signature token from Settings → General. Sign the base64-encoded raw body followed by : and the timestamp:
Verify the raw body before parsing JSON, and ignore duplicate task IDs.

Delivery Behavior

Callbacks make up to three attempts for connection errors, HTTP 408/425/429, and 5xx responses. Connection and read timeouts are 10 and 30 seconds; read timeouts are not retried. Use task status to recover missed results. Webhooks use a different payload, signature, and delivery policy.