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

# Send a test event

`POST /webhooks/{id}/test`

## Request

- Base URL: `https://shipmail.to/api/v1`
- URL: `https://shipmail.to/api/v1/webhooks/{id}/test`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://shipmail.to/api/auth/oauth2/authorize`, token URL `https://shipmail.to/api/auth/oauth2/token`)

Send a test webhook.test event to the endpoint.

## Headers

- `X-Shipmail-Organization` string

## Response `202`

Test event queued.

- object
  - `event_id` string, required: ID of the test event.

## Other responses

- `404`: Resource not found.
- `429`: Rate limit exceeded.

---

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