---
search:
  tags:
    - Webhook events
    - POST
    - Webhook
seo:
  description: >-
    A media item entered the media queue - via a tip, a !sr chat request,
    channel… Reference for the POST media.created webhook in the TipPage
    Developer API.
sidebar:
  label: media.created
  badge: POST
title: media.created
type: openapi-operation
---
A media item entered the media queue - via a tip, a `!sr` chat request, channel points, or a replay (`data.requested_via` discriminates). `order_id` links back to the tip when there is one.

`POST media.created`

**Webhook.** The API sends this request to your endpoint.

**Payload** (`application/json`)

- `id` (string, required) — Unique event id.
- `type` (any, required)
- `created` (string<date-time>, required)
- `actor` (object | null, required) — Who caused the event. \`null\` for system-originated events (a payment landing, an overlay heartbeat lapsing). Otherwise one of \`user\` (a team member in the dashboard), \`chat\` (a moderator's chat command via the bot), \`api\_key\` (a developer API key), \`oauth\_app\` (an OAuth-connected app), \`overlay\` (the overlay reporting start/finish) or \`bot\`.
- `data` (MediaCreatedData, required)

Payload example:

```json
{
  "id": "evt_9f1e2d3c4b5a6978",
  "type": "media.created",
  "created": "2019-08-24T14:15:22Z",
  "actor": {
    "type": "chat",
    "user_id": null,
    "platform": "twitch",
    "platform_id": "123456789",
    "login": "modname",
    "display_name": "ModName"
  },
  "data": {
    "order_id": "string",
    "donor_name": "string",
    "media_url": "http://example.com",
    "media_start_time": 0,
    "video_title": "string",
    "video_duration": 0,
    "platform": "string",
    "requested_via": "string",
    "is_replay": true
  }
}
```

**Responses**

- `200` — Return any 2xx quickly.
