ElevenLabs Single Use Token API

Mint short-lived, single-use tokens for client-side use of Conversational AI agents.

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/single-use-token/{token_type} Create a single-use token for a frontend · Create Single Use Token #
Ask an LLM
“How do I let a browser client call the API without exposing my key?”
“Can I mint a short-lived token that works only once?”
Tell an agent
Generate a single-use {token_type} token for my web client.
Create a time-limited one-time token of type {token_type}.

Documentation

Specifications

Other Resources

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/elevenlabs-single-use-token-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

elevenlabs-single-use-token-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ElevenLabs API Documentation Single Use Token API
  description: This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your API key. You can find your API key in the dashboard at https://elevenlabs.io/app/settings/api-keys.
  version: '1.0'
tags:
- name: Single Use Token
  description: Mint short-lived, single-use tokens for client-side use of Conversational AI agents.
paths:
  /v1/single-use-token/{token_type}:
    post:
      tags:
      - Single Use Token
      summary: Create Single Use Token
      description: Generate a time limited single-use token with embedded authentication for frontend clients.
      operationId: get_single_use_token
      parameters:
      - name: token_type
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/SingleUseTokenType'
      - name: xi-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
          title: Xi-Api-Key
        description: Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SingleUseTokenResponseModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      x-fern-sdk-group-name:
      - tokens
      - single_use
      x-fern-sdk-method-name: create
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    SingleUseTokenType:
      type: string
      enum:
      - realtime_scribe
      - batch_scribe
      - tts_websocket
      title: SingleUseTokenType
    SingleUseTokenResponseModel:
      properties:
        token:
          type: string
          title: Token
          description: A time bound single use token that expires after 15 minutes. Will be consumed on use.
      type: object
      required:
      - token
      title: SingleUseTokenResponseModel
      example:
        token: sutkn_1234567890