---
title: "Send an event"
method: POST
path: "/v1/events/send"
tags: ["Events"]
---

# Send an event

`POST /v1/events/send`

Send events to trigger workflows.

## Headers

- `Idempotency-Key` string

## Request body

- union
  - object
    - `email` string, required — The contact's email address. **Required if `userId` is not provided.**
    - `userId` string — The contact's unique user ID. **Required if `email` is not provided.**
    - `eventName` string, required — The name of the event.
    - `eventProperties` object — An object containing event property data for the event, available in emails sent by the event.
    - `mailingLists` MailingListSubscriptions — Manage mailing list subscriptions. Include key-value pairs of mailing list IDs and a `boolean` denoting if the contact should be added (`true`) or removed (`false`) from the list.
  - object
    - `email` string — The contact's email address. **Required if `userId` is not provided.**
    - `userId` string, required — The contact's unique user ID. **Required if `email` is not provided.**
    - `eventName` string, required — The name of the event.
    - `eventProperties` object — An object containing event property data for the event, available in emails sent by the event.
    - `mailingLists` MailingListSubscriptions — Manage mailing list subscriptions. Include key-value pairs of mailing list IDs and a `boolean` denoting if the contact should be added (`true`) or removed (`false`) from the list.

## Response `200`

Successful send.

- EventSuccessResponse
  - `success` boolean, required

## Other responses

- `400` — Bad request (e.g. `eventName` is missing).
- `405` — Wrong HTTP request method.
- `409` — Idempotency key has been used.

## Changes

> 9 revisions in range; 1 not diffed, 2 could not be searched.

- **2026-07-21** `df77516a130a` — 1 info
  - added `subschema #1, subschema #2` to the request body `anyOf` list

[Change history](https://skmtc.dev/loops/apis/loops-openapi-spec/changes/v1/events/send/post.md)

---

[API](https://skmtc.dev/loops/apis/loops-openapi-spec.md) · [All operations](https://skmtc.dev/loops/apis/loops-openapi-spec/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loops/loops-openapi-spec/revisions/8bd0098300ec/schema)
