Set up
Create an API key on the Dashboard under Settings, then API keys, and load it intoPOMERADO_API_KEY from your secret manager.
Find the tool
Run it
POST /v1/runs with an Idempotency-Key header, so a retry never acts on the site twice.
Follow the job
Read the job until it finishes or asks a question, waitingRetry-After seconds between reads:
needs_input waits on a person: send them its input_request.answer_url.
Receive a webhook
Instead of polling, create a webhook once:secret in the answer; it’s shown once. Verify each delivery with a Standard Webhooks library, answer with a 2xx within 10 seconds, then read the job, since events never carry a result:
Details
Details
- A result is kept until its first read, and at most 60 minutes after the job ends. Only the API key that started the job can read it;
include_result=falsechecks the job without using up the result. - An event can arrive more than once. Drop repeats by its
id. - More in webhooks, wait for a result and the API reference.