Requests
- Your API key is in a secret store or environment variable, and every call is made from your server.
-
my-publisherslists every publisher you need, and each isenabled. - Requests use the
publishersmap, one entry per publisher. Noparamsleft in an entry. - Reviews requests carry
businesswithid,nameandaddress(street,city,country), and the place’s page inscope.urls. - Each run has its own
external_request_idthat you can reproduce, such as<business>-<publisher>-<date>. - Task ids are read from
tasks[].task_idand stored with your request. - Requests refused with
422are logged withdetailsandmeta.request_id.
Results
- Your webhook endpoint is registered, and its
signing_secretis stored in your secret store. - Every delivery’s
X-DP-Signatureis checked over the raw body, and old timestamps are rejected. - Repeats are skipped on
X-DP-Event-Id. - Your endpoint answers
2xxwithintimeout_seconds, and does the work afterwards. - You branch on
task_status(webhook) oroutcome_code(polling), never onreason. -
460,461and404are handled as successes. - Result files are downloaded within 7 days, or fresh links are fetched with
retrieve-data. - A long webhook outage is covered: missed results are collected with
retrieve-data.
Keeping data current
- You store each review’s
review_hashas its key. - You save
last_review_hashesafter a run that delivered reviews, and send them on the next run. - After a
461, you keep the hashes you had (the new list is empty). - Runs with
includeread authors from the files inreviews_urls(nested) or join them onparent.id(linked).
Test once end to end
- One request sent, its webhook received and verified, and its files downloaded and read.
- The same business run again with
last_review_hashes, returning461or only new reviews.

