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

- **2023-05-22** `b03cfe30eb69` — 2 breaking, 1 warning, 4 info
  - the request's body type/format changed from ``/`` to `object`/``
  - the `data/additionalProperties/oneOf[subschema #2]/` request property type/format changed from `integer`/`` to `integer`/`int32`
  - removed the optional property `error` from the response with the `403` status
  - added the media type `application/json` for the response with the status `200`
  - …3 more
- **2023-03-08** `17c8a6fc5972` — 1 info
  - added the non-success response with the status `500`
- **2023-03-07** `b7df9beee1fd` — 1 info
  - endpoint added
- **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)
