Skip to content
TipPage Docs
Esc
navigateopen⌘Jpreview

Finish a media item

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 to put it back instead. Requires media:control.

POST/media/{orderId}/finish
Authorization
AuthorizationBearer token (tp_live_...) · headerrequired
A TipPage API key, created in Dashboard → Settings → Developer.
Path parameters
orderIdstringrequired
The media item's order id - the only external row reference.
Responses
200Finished.
successboolean
mediaQueueMediaItem | any
Show properties
One of:
QueueMediaItem
order_idstring
donor_namestring
media_urlstring<uri>
media_start_timeinteger
Start offset in seconds.
video_titlestring | null
video_thumbnailstring<uri> | null
video_durationinteger
Duration in seconds (0 = unknown).
platformstring
requested_viastring
tip | chat | admin | channel_point | ...
is_replayboolean
queued_atstring<date-time>
any
any
401Missing or invalid API key (`missing_api_key` / `invalid_api_key`).
errorstringrequired
Human-readable message.
codestring
Machine-readable code (e.g. `missing_scope`, `not_in_queue`).
403The key lacks the required scope (`missing_scope`).
errorstringrequired
Human-readable message.
codestring
Machine-readable code (e.g. `missing_scope`, `not_in_queue`).
required_scopestring
429Rate limit exceeded - check the `RateLimit-*` headers.
errorstring
Request
curl -X POST "https://api.tippage.com/v1/media/string/finish" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "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"
  }
}