Skip to main content
GET
/
v1
/
streamer
/
{name}
/
events
Events joined by streamer
curl --request GET \
  --url http://localhost:8787/v1/streamer/{name}/events \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "title": "<string>",
    "avg_viewers": 123,
    "peak_viewers": 123,
    "started_at": "2023-11-07T05:31:56Z",
    "ended_at": "2023-11-07T05:31:56Z",
    "channels": [
      "<string>"
    ],
    "logo_url": "<string>",
    "user_id": "<string>",
    "is_public": true
  }
]

Authorizations

Authorization
string
header
required

Optional bearer token enforced when the Worker is configured with an API token.

Path Parameters

name
string
required

Streamer username/login (lowercase) or numeric Twitch channel id.

Response

Successful response

id
string
title
string
avg_viewers
integer | null
peak_viewers
integer | null
started_at
string<date-time>
ended_at
string<date-time> | null
channels
string[] | null
logo_url
string<uri> | null
user_id
string | null
is_public
boolean