---
title: "Send Event Type Example Message"
method: POST
path: "/api/v1/app/{app_id}/endpoint/{endpoint_id}/send-example"
tags: ["Endpoint"]
---

# Send Event Type Example Message

`POST /api/v1/app/{app_id}/endpoint/{endpoint_id}/send-example`

Send an example message for an event.

## Path parameters

- `app_id` string, required — The Application's ID or UID.
- `endpoint_id` string, required — The Endpoint's ID or UID.

## Headers

- `idempotency-key` string

## Request body

- EventExampleIn
  - `eventType` string, required — The event type's name
  - `exampleIndex` integer — If the event type schema contains an array of examples, chooses which one to send. Defaults to the first example. Ignored if the schema doesn't contain an array of examples.

## Response `202`

- MessageOut
  - `eventId` string, nullable — Optional unique identifier for the message
  - `eventType` string, required — The event type's name
  - `payload` object, required
  - `channels` string[], nullable — List of free-form identifiers that endpoints can filter by
  - `id` string, required — The Message's ID.
  - `timestamp` string, date-time, required
  - `tags` string[], nullable
  - `deliverAt` string, date-time, nullable

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Validation Error
- `429` — Too Many Requests

---

[API](https://skmtc.net/svix/apis/svix-api.md) · [All operations](https://skmtc.net/svix/apis/svix-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/svix/svix-api/versions/16dbcc056c48/schema)
