Lightstream AuthenticationService API

The Authentication Service provides token services for clients

Operations 2

PUT /authentication/token Refresh Access Token #
POST /authentication/token/guest Create Guest Access Token #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lightstream-authenticationservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lightstream-authenticationservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Event Authentication Service API
  version: '2.0'
  description: The Authentication Service provides token services for clients
servers:
- url: https://live.api.stream/event/v2
tags:
- name: AuthenticationService
  description: The Authentication Service provides token services for clients
paths:
  /authentication/token:
    put:
      summary: Refresh Access Token
      description: Forcibly refresh an access token prior to expiration
      operationId: AuthenticationService_RefreshAccessToken
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v21RefreshAccessTokenResponse'
        '401':
          description: The access token provided is not valid
          content:
            application/json:
              schema: {}
        '403':
          description: The access token provided does not have access to specified resource
          content:
            application/json:
              schema: {}
        '404':
          description: The specified resource was not found
          content:
            application/json:
              schema: {}
        '429':
          description: The specified service is busy; please use an exponential backoff on subsequent requests.
          content:
            application/json:
              schema: {}
        '500':
          description: The specified service is unavailable; please try again later
          content:
            application/json:
              schema: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpcStatus'
      tags:
      - AuthenticationService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v21RefreshAccessTokenRequest'
        required: true
  /authentication/token/guest:
    post:
      summary: Create Guest Access Token
      description: Create an access token for a guest
      operationId: AuthenticationService_CreateGuestAccessToken
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v21CreateGuestAccessTokenResponse'
        '401':
          description: The access token provided is not valid
          content:
            application/json:
              schema: {}
        '403':
          description: The access token provided does not have access to specified resource
          content:
            application/json:
              schema: {}
        '404':
          description: The specified resource was not found
          content:
            application/json:
              schema: {}
        '429':
          description: The specified service is busy; please use an exponential backoff on subsequent requests.
          content:
            application/json:
              schema: {}
        '500':
          description: The specified service is unavailable; please try again later
          content:
            application/json:
              schema: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpcStatus'
      tags:
      - AuthenticationService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v21CreateGuestAccessTokenRequest'
        required: true
components:
  schemas:
    v21Role:
      type: string
      enum:
      - ROLE_HOST
      - ROLE_COHOST
      - ROLE_CONTRIBUTOR
      - ROLE_GUEST
      - ROLE_VIEWER
      - ROLE_RENDERER
      - ROLE_PLATFORM
      - ROLE_IMPERSONATE
      title: defined roles
    v21GuestAccessToken:
      type: object
      properties:
        direct:
          $ref: '#/components/schemas/v21GuestAccessTokenDirect'
        exchange:
          $ref: '#/components/schemas/v21GuestAccessTokenExchange'
      title: the type of access token (selec one)
    v21CreateGuestAccessTokenResponse:
      type: object
      properties:
        accessToken:
          type: string
          example: 7132b004-61e8-49c1-8dc8-4bb3269ce6f
          title: access token for guest to be used in subsequent API calls
        url:
          type: string
          title: the shortened url
    v21CreateGuestAccessTokenRequest:
      type: object
      properties:
        collectionId:
          type: string
          example: 7132b004-61e8-49c1-8dc8-4bb3269ce6f
          title: id of the collection this token is allowed to access
          required:
          - collection_id
        projectId:
          type: string
          example: 7132b004-61e8-49c1-8dc8-4bb3269ce6f
          title: id of the project this token is allowed to access
          required:
          - project_id
        maxDuration:
          type: integer
          format: int64
          example: 172800000
          default: '172800000'
          title: requested duration (ms) of token before it expires
        role:
          $ref: '#/components/schemas/v21Role'
          example: ROLE_GUEST
          title: the requested role of the guest
        token:
          $ref: '#/components/schemas/v21GuestAccessToken'
          title: the type of token
        url:
          type: string
          example: https://rainmaker.gg/overlay/e67cfd6ad57560962fddcf63611d2834/1
          title: request a shortened url
      required:
      - collectionId
      - projectId
    rpcStatus:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/protobufAny'
    v21GuestAccessTokenExchange:
      type: object
      properties:
        maxDuration:
          type: integer
          format: int64
          example: 300000
          default: '300000'
          title: the max duration this token is valid for redemption
      title: create a multi-use guest access token
    v21RefreshAccessTokenRequest:
      type: object
    protobufAny:
      type: object
      properties:
        '@type':
          type: string
      additionalProperties: {}
    v21RefreshAccessTokenResponse:
      type: object
    v21GuestAccessTokenDirect:
      type: object
      properties:
        displayName:
          type: string
          example: Eddy Current
          title: display name of the guest (used to generate webrtc particpant name)
          required:
          - display_name
        serviceUserId:
          type: string
          example: 7132b004-61e8-49c1-8dc8-4bb3269ce6f
          title: service-specific user id (used for record auditing purposes)
      title: create an immutable, single-use guest access token
      required:
      - displayName