---
title: "Send a test event"
method: POST
path: "/api/v1/webhooks/{webhookId}/test"
tags: ["Webhooks"]
---

# Send a test event

`POST /api/v1/webhooks/{webhookId}/test`

## Request

- Base URL: `https://app.tryadeli.com`
- URL: `https://app.tryadeli.com/api/v1/webhooks/{webhookId}/test`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/adeli/apis/adeli-api/docs/api/v1/webhooks/:webhookId/test/post.ts> (a function with typed inputs; its response is checked against the schema)

Sends one signed sample event (`test: true`) to the webhook now and returns the receiver's status code. One attempt, no retries; at most one test per webhook every few seconds. Defaults to a TikTok `comment.created`. A type the platform does not send is 422 unsupported_for_platform.

## Path parameters

- `webhookId` string, uuid, required

## Request body

- object
  - `type` 'comment.created' | 'message.postback' | 'message.created'
  - `platform` 'instagram' | 'tiktok' | 'facebook' | 'whatsapp'

## Response `200`

Success

- object
  - `eventId` string, required
  - `delivered` boolean, required
  - `statusCode` integer, nullable, required
  - `error` string, nullable, required

## Other responses

- `400`: Invalid request or provider failure
- `401`: Missing or invalid API key
- `404`: Profile, account, or object not found
- `422`: The connected account cannot perform this operation
- `429`: Provider quota or rate limit exhausted
- `502`: Invalid request or provider failure

---

[API](https://skmtc.dev/adeli/apis/adeli-api.md) - [All operations](https://skmtc.dev/adeli/apis/adeli-api/llms.txt) - [OpenAPI document](https://skmtc.dev/adeli/apis/adeli-api/revisions/ed680dfa9033?raw)
