---
search:
  tags:
    - Media queue
    - POST
seo:
  description: >-
    Promotes the media item from queue to history and clears the… Reference for
    the POST /media/{orderId}/finish endpoint in the TipPage Developer API.
sidebar:
  label: Finish a media item
  badge: POST
title: Finish a media item
type: openapi-operation
---
Promotes the media item from queue to history and clears the now-playing pointer when it points at this item. Fires `queue.media.finished`. Idempotent - finishing an already-gone item succeeds with `media: null`. Finishing means "this played" - if it didn't (your player failed), use [release](/api/reference/media-queue/releasemediaitem) to put it back instead. Requires `media:control`.

`POST /media/{orderId}/finish`

**Responses**

- `200` — Finished.
- `401` — Missing or invalid credential (\`missing\_api\_key\` / \`invalid\_api\_key\`, or \`invalid\_token\` for an expired/revoked OAuth access token).
- `403` — The key lacks the required scope (\`missing\_scope\`).
- `429` — Rate limit exceeded - check the \`RateLimit-\*\` headers.

Response example, 200:

```json
{
  "success": true,
  "media": {
    "order_id": "string",
    "donor_name": "string",
    "media_url": "http://example.com",
    "media_start_time": 0,
    "video_title": "string",
    "video_thumbnail": "http://example.com",
    "video_duration": 0,
    "platform": "youtube",
    "requested_via": "string",
    "is_replay": true,
    "queued_at": "2019-08-24T14:15:22Z"
  }
}
```
