---
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

- ModelsCreateEvent
  - `app_id` string — Deprecated but necessary for backward compatibility
  - `custom_headers` object
  - `data` integer[]
  - `endpoint_id` string
  - `event_type` string
  - `idempotency_key` string
  - `owner_id` string

## Changes

- **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 changed from `string` to `integer` for status `200`
  - the `allOf[subschema #2]/data/endpoint_metadata/items/rate_limit_duration` response's property type 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
- **2023-07-28** (v3) `2fc887538896` — 3 warning, 2 info
  - removed the request property `idempotency_ttl`
  - removed the optional property `allOf[subschema #2]/data/matched_endpoints` from the response with the `200` status
  - removed the optional property `allOf[subschema #2]/data/source_metadata/idempotency_ttl` from the response with the `200` status
  - added the optional property `allOf[subschema #2]/data/idempotency_key` to the response with the `200` status
  - …1 more
- …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/52443da83eda/schema)
