---
title: "Add Events"
method: POST
path: "/"
tags: ["Events"]
---

# Add Events

`POST /`

## Request

- Base URL: `https://api.avionte.com/events`
- URL: `https://api.avionte.com/events/`
- Auth: API key in header `x-api-key`

Add a batch of events to an Azure Event Grid topic.

## Headers

- `aeg-sas-key` string, required

## Request body

- object[]
  - `id` string, required: An unique identifier for the event.
  - `topic` string: The resource path of the event source.
  - `subject` string, required: A resource path relative to the topic path.
  - `data` object, required: Event data specific to the event type.
  - `eventType` string, required: The type of the event that occurred.
  - `eventTime` string, date-time, required: The time (in UTC) the event was generated.
  - `metadataVersion` string: The schema version of the event metadata.
  - `dataVersion` string, required: The schema version of the data object.

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `403`: Access Denied
- `404`: Not Found
- `429`: Too many events
- `500`: An unexpected error occurred

---

[API](https://skmtc.dev/avionte/apis/bold-partner-events.md) - [All operations](https://skmtc.dev/avionte/apis/bold-partner-events/llms.txt) - [OpenAPI document](https://skmtc.dev/avionte/apis/bold-partner-events/revisions/7b2c7ef3f322?raw)
