---
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-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
- **2024-01-31** (v3) `4358c29a505b` — 1 warning
  - removed the request property `uid`
- **2024-01-30** (v3) `a138f74e9d23` — 2 breaking
  - the `allOf[subschema #2]/data/endpoint_metadata/items/http_timeout` response's property type/format changed from `string`/`` to `integer`/`` for status `200`
  - the `allOf[subschema #2]/data/endpoint_metadata/items/rate_limit_duration` response's property type/format changed from `string`/`` to `integer`/`` for status `200`
- **2023-11-17** (v3) `41d4fca4cab8` — 1 warning, 3 info
  - added the new `kafka` enum value to the `allOf[subschema #2]/data/source_metadata/pub_sub/type` response property for the response status `200`
  - added the new optional request property `owner_id`
  - added the new optional request property `uid`
  - added the optional property `allOf[subschema #2]/data/source_metadata/pub_sub/kafka` to the response with the `200` status

[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/182c7b00a49a/schema)
