Radar API

Create a webhook

An HTTPS webhook for notice changes (radar.change, default) or articles (radar.article). Filters are optional: tracker, category, hazard, store and gtin for notices, provider for articles. The signing secret comes back only here. Radar package: 7-day trial, then EUR 19/month, unlimited requests. Needs a Radar key (adios_radar_…); API keys are refused. Documentation: https://adios.hr/developers/radar/docs.

post/api/v1/radar/webhooks

Request

  • Base URL: https://adios.hr
  • URL: https://adios.hr/api/v1/radar/webhooks
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key

Request body

urlstring required
namestring
event'radar.change' | 'radar.article'
lang'hr' | 'en'
trackerstring
categorystring
hazardstring
storestring
gtinstring
providerstring

Example request

{
  "url": "https://example.com/radar",
  "name": "My shop",
  "event": "radar.change",
  "lang": "en",
  "tracker": "product-recalls",
  "category": "food",
  "hazard": "microbial",
  "store": "lidl",
  "gtin": "3830000000000",
  "provider": "index"
}

Response

OK: {"data": …, "meta": …}

metaobject required

count, package, plan, took_ms; lists also include next_cursor and has_more.

Changes

No recorded changes to this operation across all 1 revision of this API.