Ditto Audio API Keys API

Create, rename & revoke the bearer keys used on /v1/audio/*

Operations 4

GET /v1/api-keys List your API keys #
POST /v1/api-keys Create an API key #
PATCH /v1/api-keys/{id} Rename an API key #
DELETE /v1/api-keys/{id} Revoke an API key #

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/ditto-audio:ditto-audio-api-keys-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

ditto-audio-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ditto.audio API Keys API
  description: Cloud API behind ditto.audio. The reader (reader.ditto.audio) and the voice studio (studio.ditto.audio) are separate apps sharing this one backend — see /docs/reader and /docs/inference for each app’s public surface. Third-party integrations want /docs/public (rendered for humans at https://ditto.audio/docs).
  version: '1.0'
  contact: {}
servers: []
tags:
- name: API Keys
  description: Create, rename & revoke the bearer keys used on /v1/audio/*
paths:
  /v1/api-keys:
    get:
      description: Secrets are never returned — each key shows a masked identifier (`ditto_sk_live_7f3a…c91d`) plus its scopes and last-used time.
      operationId: ApiKeysController_list
      parameters: []
      responses:
        '200':
          description: ''
      security:
      - bearer: []
      summary: List your API keys
      tags:
      - API Keys
    post:
      description: 'The plaintext `secret` is returned ONCE in this response and is never recoverable afterwards — store it immediately. Use it as `Authorization: Bearer ` on /v1/audio/*.'
      operationId: ApiKeysController_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateApiKeyDto'
      responses:
        '201':
          description: The new key + its one-time plaintext secret.
        '400':
          description: Missing name, invalid scopes, or key limit reached.
      security:
      - bearer: []
      summary: Create an API key
      tags:
      - API Keys
  /v1/api-keys/{id}:
    patch:
      operationId: ApiKeysController_rename
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RenameApiKeyDto'
      responses:
        '200':
          description: ''
      security:
      - bearer: []
      summary: Rename an API key
      tags:
      - API Keys
    delete:
      description: Takes effect immediately. The row is kept (not deleted) so historical usage still resolves to a key name in your analytics.
      operationId: ApiKeysController_revoke
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      security:
      - bearer: []
      summary: Revoke an API key
      tags:
      - API Keys
components:
  schemas:
    RenameApiKeyDto:
      type: object
      properties:
        name:
          type: string
          maxLength: 80
      required:
      - name
    CreateApiKeyDto:
      type: object
      properties:
        name:
          type: string
          example: cardiculate-prod
          maxLength: 80
          description: Your label for the key.
        scopes:
          type: array
          description: 'Defaults to every scope. `audio:speech`: synthesize (POST /v1/audio/speech, /speech/batch, /batches and a batch''s /cancel). `audio:read`: GET /v1/audio/voices, /voices/{id}, and reading batches (GET /v1/audio/batches, /{id}, /{id}/items, /{id}/output). `reader:read` / `reader:write`: read or change audiobooks under /v1/reader. GET /v1/audio/languages and /v1/audio/format need no key.'
          items:
            type: string
            enum:
            - audio:speech
            - audio:read
            - reader:read
            - reader:write
        expiresAt:
          type: string
          description: ISO-8601 expiry. Omit for a key that never expires.
      required:
      - name
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: ditto_sk_live_… API key, ditto_oat_… OAuth access token, or a session JWT
      type: http
      description: An API key (`ditto_sk_live_…`, made at https://ditto.audio/account/api-keys) authenticates /v1/audio/* and /v1/reader/*; an OAuth connection's one-hour access token (`ditto_oat_…`) holds the audio:read and audio:speech scopes only. Account routes (/v1/api-keys, /v1/usage, /v1/subscription) take the signed-in session's token (a JWT) only.