API Reference
List Ingresses

List Ingresses

Returns a list of all active ingresses, optionally filtered by room name.

Endpoint

GET /api/ingress

Request Headers

HeaderRequiredDescription
x-api-keyYesYour API key

Query Parameters

ParameterTypeRequiredDescription
roomNamestringNoFilter ingresses by room name

Example Requests

List All Ingresses

curl -X GET https://live-api.block8910.com/api/ingress \
  -H "x-api-key: YOUR_API_KEY"

List by Room Name

curl -X GET "https://live-api.block8910.com/api/ingress?roomName=my-room" \
  -H "x-api-key: YOUR_API_KEY"

Response

{
  "success": true,
  "data": [
    {
      "ingressId": "IN_xxxxxxxxxxxxxx",
      "name": "ingress-1234567890",
      "streamKey": "aAXevUYwfj9K",
      "url": "rtmp://rtmp.block8910.com:1935/x",
      "rtmpUrl": "rtmp://rtmp.block8910.com:1935/x/aAXevUYwfj9K",
      "roomName": "my-room",
      "participantIdentity": "streamer-1",
      "participantName": "My Stream",
      "status": "ENDPOINT_INACTIVE",
      "video": {
        "width": 1920,
        "height": 1080,
        "framerate": 30
      },
      "enableTranscoding": true,
      "createdAt": "2024-01-01T00:00:00.000Z"
    }
  ]
}

Response Fields

FieldDescription
ingressIdUnique identifier for the ingress
nameName of the ingress
streamKeyStream key for RTMP authentication
urlBase RTMP server URL
rtmpUrlFull RTMP URL for streaming
roomNameRoom name for viewers
participantIdentityUnique identifier for the streamer
participantNameDisplay name of the streamer
statusCurrent status of the ingress
videoVideo information (width, height, framerate)
enableTranscodingWhether transcoding is enabled
createdAtTimestamp when stream started

Ingress States

StatusDescription
ENDPOINT_INACTIVEIngress created but not streaming
ENDPOINT_BUFFERINGStream is buffering
ENDPOINT_PUBLISHINGActively streaming
ENDPOINT_ERRORError occurred