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

# Create an event

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

This endpoint creates an endpoint event

## Path parameters

- `projectID` string, required

## Request body

- ModelsBroadcastEvent
  - `custom_headers` object
  - `data` integer[] — Data is an arbitrary JSON value that gets sent as the body of the webhook to the endpoints
  - `event_type` string
  - `idempotency_key` string

## Changes

- **2024-02-20** (v3) `9e4b97e26a2a` — 17 info
  - added the optional property `allOf[subschema #2]/data/app_id` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/data/created_at` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/data/data` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/data/deleted_at` to the response with the `200` status
  - …13 more
- **2024-02-20** (v3) `6ef49682c1c0` — 17 warning
  - removed the optional property `allOf[subschema #2]/data/app_id` from the response with the `200` status
  - removed the optional property `allOf[subschema #2]/data/created_at` from the response with the `200` status
  - removed the optional property `allOf[subschema #2]/data/data` from the response with the `200` status
  - removed the optional property `allOf[subschema #2]/data/deleted_at` from the response with the `200` status
  - …13 more
- **2024-02-13** (v3) `182c7b00a49a` — 3 warning
  - removed the request property `app_id`
  - removed the request property `endpoint_id`
  - removed the request property `owner_id`
- **2024-02-08** (v3) `8aa5161aec4c` — 1 warning, 1 info
  - added the new `amqp` enum value to the `allOf[subschema #2]/data/source_metadata/pub_sub/type` response property for the response status `200`
  - added the optional property `allOf[subschema #2]/data/source_metadata/pub_sub/amqp` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/getconvoy/apis/convoy-api-reference/changes/v1/projects/:projectID/events/post.md)

---

[API](https://skmtc.dev/getconvoy/apis/convoy-api-reference.md) · [All operations](https://skmtc.dev/getconvoy/apis/convoy-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getconvoy/convoy-api-reference/revisions/9e4b97e26a2a/schema)
