---
title: "Test a webhook"
method: POST
path: "/api/v1/radar/webhooks/{id}/test"
tags: ["Radar API"]
---

# Test a webhook

`POST /api/v1/radar/webhooks/{id}/test`

## Request

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

Sends a signed POST (test=true) to the saved URL: a sample, a chosen public notice or article, or your own JSON in data. Returns your server's HTTP status, the time, the error and the payload sent. Live deliveries are untouched. 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.

## Path parameters

- `id` string, required

## Request body

- object
  - `type` 'radar.created' | 'radar.updated' | 'radar.cancelled' | 'radar.removed' | 'radar.article'
  - `notice_id` string
  - `article_id` string
  - `data` object

## Response `200`

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

- RadarWebhookTestResponse
  - `data` RadarWebhookTestData, nullable, required
    - `id` union, required
      - string
      - integer
    - `at` string, date-time, required
    - `event` string, required
    - `event_id` string, required
    - `success` boolean, required
    - `status_code` union
      - string
      - integer
    - `duration_ms` union, required
      - string
      - integer
    - `error` string, nullable
    - `payload` string, nullable
    - `test` boolean, required
  - `meta` object, required: count, package, plan, took_ms; lists also include next_cursor and has_more.

## Other responses

- `400`: A wrong parameter.
- `401`: No key, or a wrong one.
- `403`: Suspended account, a key of the other package (an API key on Radar, a Radar key elsewhere), or an inactive Radar package.
- `404`: Not found.
- `429`: A limit is reached (see Retry-After).

---

[API](https://skmtc.dev/adios/apis/adios-radar-api.md) · [All operations](https://skmtc.dev/adios/apis/adios-radar-api/llms.txt) · [OpenAPI document](https://skmtc.dev/adios/apis/adios-radar-api/revisions/327e9a7f6e5f?raw)
