DataPI.

What would you like to understand?

Preparing search…
    All results and search filters →
    Social data engineering

    Async requests and signed webhooks, without duplicate work

    Accept, then follow the run: idempotency keys stop duplicate collection, and stable event IDs make retries safe.

    3 min read

    A timeout does not mean the work failed. It means you do not know. Asynchronous acceptance plus a stable run identifier answers the question without guessing.

    The pattern

    Submit with an idempotency key derived from your own job ID. Receive a run identifier. Poll the run or wait for a completion event. Persist the result against the job and mark the key as done.

    Handler rules for webhooks

    • Verify the signature over the raw body before parsing.
    • Persist processed event IDs and ignore repeats.
    • Return a 2xx only after the event is stored.

    Run this method on your own data

    Start with a credential and read the coverage of each response before drawing a conclusion. Plans are monthly, and there is no checkout on this site.