Skip to main content

Result Delivery

Zenoo supports three methods for delivering verification results. Choose based on your infrastructure, latency requirements, and integration complexity.

Pull via Token

The simplest approach. After initiating a verification, poll the pull endpoint until results are ready.How it works:
  1. Initiate a verification (sync or async). Save the pull token from the response.
  2. Poll GET /sharable-payload/{pull_token} at intervals.
  3. When results are ready, the endpoint returns 200 with the full payload.

Polling Strategy

poll-results.js

Pull Endpoint Response Codes

Pull Token Lifetime

Pull tokens remain valid for 30 days after results become available. After that, the token expires and returns 404. Store results in your own system before the token expires.

Comparison

Recommendation

For production, use Ping + Pull. You get real-time notification that results are available, with the flexibility to fetch full results on your own schedule. Small webhook payloads are more reliable to deliver, and you always have the pull endpoint as a fallback.
For POC and development: Use Pull via Token. It requires no webhook infrastructure. Just initiate a verification and poll for results. For event-driven architectures: Use Webhook Push. If your system is already built around event processing (message queues, serverless functions), receiving full results via webhook fits naturally.

Combining Methods

The most resilient pattern uses webhooks with polling as a fallback:
  1. Configure webhooks for instant notification (push or ping+pull).
  2. Implement a background job that polls for any verifications that have been pending longer than expected.
  3. If a webhook is missed (endpoint down, network issue), the polling job catches it.
fallback-poller.js

Next Steps