docs.twitch-ws-eventsub.thebarrelrollers.com Open in urlscan Pro
75.101.167.250  Public Scan

URL: https://docs.twitch-ws-eventsub.thebarrelrollers.com/
Submission Tags: phishingrod
Submission: On May 22 via api from DE — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

 * Body
 * Headers (8)

 * Body
 * Headers (7)

 * Body
 * Headers (8)




Public


Documentation Settings

ENVIRONMENT
twitch-ws-eventsub.thebarrelrollers.com prod

LAYOUT
Double Column

LANGUAGE
cURL - cURL



twitch-ws-eventsub.thebarrelrollers.com
Introduction
api
temp


TWITCH-WS-EVENTSUB.THEBARRELROLLERS.COM

This product allows you to listen to twitch EventSub subscriptions via a
websocket.

It listens to Twitch webhooks and sends the received notifications via
Websockets to the connected clients.

Very simple websocket demo can be found at:

https://twitch-ws-eventsub.thebarrelrollers.com/ws-demo

Use the REST API to manage the subscriptions:

https://twitch-ws-eventsub.thebarrelrollers.com/api

Twitch Eventsub subscription types:

https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types

AUTHORIZATIONBearer Token
Token

<token>


API

AUTHORIZATIONBearer Token
This folder is using Bearer Token from
collectiontwitch-ws-eventsub.thebarrelrollers.com



GETGET CURRENT SUBSCRIPTIONS


https://twitch-ws-eventsub.thebarrelrollers.com/api/subscriptions
AUTHORIZATIONBearer Token
This request is using Bearer Token from
collectiontwitch-ws-eventsub.thebarrelrollers.com
Example Request
Get current subscriptions

curl


curl --location 'https://twitch-ws-eventsub.thebarrelrollers.com/api/subscriptions'

200 OK
Example Response
 * Body
 * Headers (8)

View More
json


{
  "total": 2,
  "data": [
    {
      "id": "e2636f18-5f68-4cc2-a637-85e9384cf728",
      "status": "enabled",
      "type": "stream.offline",
      "version": "1",
      "condition": {
        "broadcaster_user_id": "558174229"
      },
      "created_at": "2021-11-11T09:06:44.068628608Z",
      "transport": {
        "method": "webhook",
        "callback": "https://twitch-ws-eventsub.thebarrelrollers.com/twitch-webhooks"
      },
      "cost": 0
    },
    {
      "id": "e171a945-aaba-42e3-90b7-f2164843027b",
      "status": "enabled",
      "type": "stream.online",
      "version": "1",
      "condition": {
        "broadcaster_user_id": "558174229"
      },
      "created_at": "2021-11-11T09:06:50.832118131Z",
      "transport": {
        "method": "webhook",
        "callback": "https://twitch-ws-eventsub.thebarrelrollers.com/twitch-webhooks"
      },
      "cost": 0
    }
  ],
  "max_total_cost": 10000,
  "total_cost": 0,
  "pagination": {}
}

Server

openresty

Date

Thu, 11 Nov 2021 10:35:14 GMT

Content-Type

application/json; charset=utf-8

Content-Length

705

Connection

keep-alive

X-Powered-By

Express

ETag

W/"2c1-E1wvgMJS3KDlAAHNTVAtnWsibz0"

X-Served-By

twitch-ws-eventsub.thebarrelrollers.com


POSTADD SUBSCRIPTION


https://twitch-ws-eventsub.thebarrelrollers.com/api/subscriptions
AUTHORIZATIONBearer Token
This request is using Bearer Token from
collectiontwitch-ws-eventsub.thebarrelrollers.com
HEADERS
Content-Type

application/json

Bodyraw

{
    "type": "stream.online",
    "condition": {
        "broadcaster_user_id": "558174229"
    }
}

Example Request
Add subscription

curl


curl --location 'https://twitch-ws-eventsub.thebarrelrollers.com/api/subscriptions' \
--header 'Content-Type: application/json' \
--data '{
    "type": "stream.online",
    "condition": {
        "broadcaster_user_id": "558174229"
    }
}'

202 Accepted
Example Response
 * Body
 * Headers (7)

View More
json


{
  "data": [
    {
      "id": "d5736583-fc83-4aae-99b5-9b580ab1a2b4",
      "status": "webhook_callback_verification_pending",
      "type": "stream.online",
      "version": "1",
      "condition": {
        "broadcaster_user_id": "558174229"
      },
      "created_at": "2021-11-11T10:36:17.77005156Z",
      "transport": {
        "method": "webhook",
        "callback": "https://twitch-ws-eventsub.thebarrelrollers.com/twitch-webhooks"
      },
      "cost": 0
    }
  ],
  "total": 1,
  "max_total_cost": 10000,
  "total_cost": 0
}

Server

openresty

Date

Thu, 11 Nov 2021 10:36:17 GMT

Content-Type

application/json; charset=utf-8

Content-Length

402

Connection

keep-alive

X-Powered-By

Express

ETag

W/"192-YitLPZmFGaLyC0cxhrJafoMuJ9c"


DELETEDELETE ALL SUBSCRIPTIONS


https://twitch-ws-eventsub.thebarrelrollers.com/api/subscriptions
AUTHORIZATIONBearer Token
This request is using Bearer Token from
collectiontwitch-ws-eventsub.thebarrelrollers.com
Example Request
Delete all subscriptions

View More
curl


curl --location --request DELETE 'https://twitch-ws-eventsub.thebarrelrollers.com/api/subscriptions'

200 OK
Example Response
 * Body
 * Headers (8)

json


{
  "total": 0,
  "data": [],
  "max_total_cost": 10000,
  "total_cost": 0,
  "pagination": {}
}

Server

openresty

Date

Thu, 11 Nov 2021 10:36:06 GMT

Content-Type

application/json; charset=utf-8

Content-Length

75

Connection

keep-alive

X-Powered-By

Express

ETag

W/"4b-0GrOh09VrQn5TStt54GNaLITU/c"

X-Served-By

twitch-ws-eventsub.thebarrelrollers.com