Skip to main content
GET
/
v1
/
events
/
public
Public events
curl --request GET \
  --url http://localhost:8787/v1/events/public \
  --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.

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