---
title: "Send event to Optimizely Data Platform (ODP)."
method: POST
path: "/v1/send-odp-event"
---

# Send event to Optimizely Data Platform (ODP).

`POST /v1/send-odp-event`

Send ODP event to Optimizely Data Platform. Clients can send arbitrary events to the ODP server. For instance, they can bind an email to the FS userId via this API.

## Request body

- SendOdpEventContext
  - `action` string, required
  - `type` string
  - `identifiers` object, required
  - `data` object

## Response `200`

Valid response, event received

## Other responses

- `400` — Missing required parameters
- `401` — Unauthorized, invalid JWT
- `403` — You do not have necessary permissions for the resource
- `500` — Failed to send odp event

## Changes

> 41 revisions in range; 11 could not be searched.

- **2019-08-29** `6933bf16666a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/optimizely/apis/optimizely-agent-api/changes/v1/send-odp-event/post.md)

---

[API](https://skmtc.dev/optimizely/apis/optimizely-agent-api.md) · [All operations](https://skmtc.dev/optimizely/apis/optimizely-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/optimizely/optimizely-agent-api/revisions/8aa6750d4b77/schema)
