---
title: "Fan out an event"
method: POST
path: "/v1/projects/{projectID}/events/fanout"
tags: ["Events"]
---

# Fan out an event

`POST /v1/projects/{projectID}/events/fanout`

This endpoint uses the owner_id to fan out an event to multiple endpoints.

## Path parameters

- `projectID` string, required

## Request body

- ModelsFanoutEvent
  - `custom_headers` object, nullable — Specifies custom headers you want convoy to add when the event is dispatched to your endpoint
  - `data` object, nullable — Data is an arbitrary JSON value that gets sent as the body of the webhook to the endpoints
  - `event_type` string — Event Type is used for filtering and debugging e.g invoice.paid
  - `idempotency_key` string — Specify a key for event deduplication
  - `owner_id` string — Used for fanout, sends this event to all endpoints with this OwnerID.

## Response `201`

Created

- object
  - `message` string
  - `status` boolean
  - `data` HandlersStub, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

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