Happyrobot Voice API

The Voice API from Happyrobot — 1 operation(s) for voice.

Operations 1

POST /voice/tokens/ Create a voice call 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/happyrobot-voice-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

happyrobot-voice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Happyrobot Public Voice API
  description: Public API endpoints for Happyrobot
  version: 0.1.1
servers:
- url: https://platform.happyrobot.ai/api/v2
security:
- bearerAuth: []
tags:
- name: Voice
paths:
  /voice/tokens/:
    post:
      summary: Create a voice call token
      tags:
      - Voice
      description: Generates a LiveKit token for browser-side voice calls with AI agents. Call this from your backend with your API key, then pass the token to the frontend. Use workflow_id to start a new call, or session_id to join/take over an in-progress call.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                workflow_id:
                  description: Workflow UUID or slug to scope the token to. Starts a new call. Mutually exclusive with session_id.
                  type: string
                  minLength: 1
                session_id:
                  description: ID of an in-progress session to join. Generates a token for the session's existing LiveKit room. Mutually exclusive with workflow_id.
                  type: string
                  format: uuid
                  pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                should_takeover:
                  default: false
                  description: Required to be true when joining a session (session_id). Explicit opt-in confirming the joining participant takes over the call and the AI agent drops. Not valid for a new call (workflow_id).
                  type: boolean
                data:
                  description: Payload data to pass to the voice agent as participant attributes (workflow_id only)
                  type: object
                  additionalProperties: {}
                env:
                  default: production
                  description: Environment to use for version resolution (workflow_id only)
                  type: string
                  enum:
                  - production
                  - staging
                  - development
                ttl_seconds:
                  default: 21600
                  description: LiveKit token lifetime in seconds. Defaults to 21600 (6 hours) to match LiveKit's default. Min 60s, max 24h. The browser must (re)connect before this expires; LiveKit does not refresh tokens on an active call.
                  type: integer
                  minimum: 60
                  maximum: 86400
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    description: LiveKit WebSocket URL
                  token:
                    type: string
                    description: LiveKit access token
                  room_name:
                    type: string
                    description: LiveKit room name
                  run_id:
                    type: string
                    format: uuid
                    pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    description: Run ID for tracking
                required:
                - url
                - token
                - room_name
                - run_id
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  statusCode:
                    type: number
                required:
                - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  statusCode:
                    type: number
                required:
                - error
                additionalProperties: false
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  statusCode:
                    type: number
                required:
                - error
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  statusCode:
                    type: number
                required:
                - error
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Opaque