---
title: "Post Play"
method: POST
path: "/v1/plays"
---

# Post Play

`POST /v1/plays`

## Request

- Base URL: `https://api.storyflo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.storyflo.com/v1/plays`
- Auth: none declared

Record a play. Writes the play row + the three allocation ledger
legs in a single transaction.

## Query parameters

- `api_key` string, nullable

## Headers

- `x-storyflo-key` string, nullable
- `x-readout-key` string, nullable

## Request body

- PlayRequest
  - `article_id` string, required
  - `publisher_id` string, required
  - `voice` string, required
  - `listened_seconds` number, required
  - `completed` boolean
  - `play_value_micros` integer, required
  - `currency` string
  - `ip_hash` string, nullable

## Response `200`

Successful Response

- PlayResponse
  - `play_id` string, required
  - `ledger_total_micros` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/storyflo/apis/storyflo-inference-router.md) · [All operations](https://skmtc.dev/storyflo/apis/storyflo-inference-router/llms.txt) · [OpenAPI document](https://skmtc.dev/storyflo/apis/storyflo-inference-router/revisions/c3a1a735ac7a?raw)
