Livestreams

Remove Livestream Co-host

Changed on

Removes a co-host from a live livestream.

post/livestreams/{id}/remove_co_host

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required

Livestream ID, prefixed lfeed_.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Idempotency-Key, string
Example:d9105228-4a08-46b1-8b91-42fed586d383

A unique key that makes this request safe to retry. See Idempotent requests.

Request body

object required
user_id, string required

User ID, prefixed user_.

Example request

{
  "user_id": "user_xxxxxxxxxxxxxx"
}

Response

co-host removed

Livestream required
created_at, string required

When the livestream was created, as an ISO 8601 timestamp.

ended_at, string nullable required

When the livestream ended, as an ISO 8601 timestamp. null while it is live or before it starts.

id, string required

Livestream ID, prefixed lfeed_.

pinned_at, string nullable required

When the recording was pinned or last moved, as an ISO 8601 timestamp. Pinned livestreams are ordered by it, newest first. null when not pinned.

recap, LivestreamRecap

Top moments AI picked from chat, and chat activity. Only retrieve returns it, and only to callers with the livestream:moderate permission.

recording_started_at, string nullable required

When the recording's first frame was captured, as an ISO 8601 timestamp. Offsets into the recording count from here, not from started_at. null until recording starts.

recording_status, 'recording' | 'processing' | 'completed' | 'failed' | 'null' nullable required

State of the recording. null when the livestream was not recorded.

recording_url, string nullable required

A temporary link to the recording's video file. Retrieve the livestream again for a fresh link. null until the recording is ready, or when it was deleted.

started_at, string nullable required

When the livestream went live, as an ISO 8601 timestamp. null before it starts.

thumbnail_url, string nullable required

A temporary link to a still frame from the livestream. null when none was captured.

title, string required

Display title of the livestream. Untitled Livestream when the host did not set one.

Example response

{
  "created_at": "2026-01-01T12:00:00.000Z",
  "ended_at": "2026-01-01T12:00:00.000Z",
  "id": "lfeed_xxxxxxxxxxxxxxxxxxxxxx",
  "pinned_at": "2026-01-01T12:00:00.000Z",
  "recap": {
    "chat": {
      "chatter_count": 87,
      "message_count": 412,
      "per_minute": [
        4
      ]
    },
    "moments": [
      {
        "description": "Marcus demonstrated a ceramic coating and answered questions about booking a detail.",
        "end_offset_seconds": 1461,
        "message": {
          "content": "How do I book a ceramic coating?",
          "id": "post_xxxxxxxxxxxxxxxxxxxxxx",
          "user_name": "Dana Whitfield"
        },
        "offset_seconds": 1412,
        "title": "Marcus demonstrates the ceramic coating process"
      }
    ],
    "status": "ready"
  },
  "recording_started_at": "2026-01-01T12:00:00.000Z",
  "recording_status": "completed",
  "recording_url": "https://whop-livestreams-example.s3.amazonaws.com/room/lfeed_xxxxxxxxxxxxxxxxxxxxxx.mp4",
  "started_at": "2026-01-01T12:00:00.000Z",
  "thumbnail_url": "https://img.whop.com/livestreams/lfeed_xxxxxxxxxxxxxxxxxxxxxx.jpg",
  "title": "Live detail: ceramic coating"
}

Changes