---
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
  - `uid` string

## Changes

- **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
- **2023-06-22** (v3) `5c862889f0b4` — 4 info
  - added the new optional request property `idempotency_key`
  - added the new optional request property `idempotency_ttl`
  - added the optional property `allOf[subschema #2]/data/source_metadata/idempotency_keys` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/data/source_metadata/idempotency_ttl` to the response with the `200` status

[Change 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/bbe11224b60e/schema)
