Skip to main content
Set callback.url when you create an approval, and FinalSay POSTs the result there as soon as someone answers or the approval expires. No polling loop, and it suits long waits: n8n Wait nodes, Zapier catch hooks, serverless functions.

The request FinalSay sends

Each result is delivered at least once. In rare cases, such as a FinalSay restart in the middle of a send, the same result can arrive twice. Use request_id to ignore a result you’ve already handled. If every attempt fails, the approval’s result_delivery_status becomes failed with the error in result_delivery_error (see GET /v1/approvals/{requestId}), and the attempt shows up on Delivery health. The result is still there to poll, so a missed callback never loses an answer.
Reply 2xx within 10 seconds and do slow work afterwards. If your endpoint might be down for a while, poll GET …/result as a backstop.

Securing your endpoint

FinalSay doesn’t sign callback bodies. Instead, give the agent a secret header and check it on every call:
1

Generate a secret

In the web dashboard, open the agent → Callback security. Keep the header name X-FinalSay-Callback (or set your own) and click Generate secret. Copy it; it’s shown once.
2

Check it on your endpoint

Reject any request where that header doesn’t match, for example with 401. In n8n, set the Wait node’s Authentication to Header Auth with the same name and value.
3

Rotate when needed

Rotate secret… issues a new one and the old one stops working at once, so update your endpoint right after.
FinalSay adds the header on the server when it delivers the result. The secret never appears in POST /v1/approvals, MCP tool arguments, or n8n and Zapier exports. If callback.headers sets the same header name, the agent’s value wins, so a request can’t strip it. Also:
  • Use HTTPS callback URLs.
  • Put only non-secret values in callback.headers, such as a trace id. They’re stored with the approval and are part of its idempotency check.
  • Treat the body as data. Check request_id against approvals you created before acting on it.

Recipes

n8n Wait node

callback.url = {{ $execution.resumeUrl }}, with Header Auth on the Wait node.

Zapier catch hook

Post the result to a Catch Hook that starts a second Zap.