Ditto Audio OAuth API

The oauth API from Ditto Audio — 10 operation(s) for oauth.

Operations 10

GET /.well-known/oauth-authorization-server OAuth 2.1 authorization-server metadata (RFC 8414) #
GET /.well-known/openid-configuration Alias of the authorization-server metadata for clients that probe the OIDC path #
POST /v1/oauth/register Dynamic Client Registration (RFC 7591) #
POST /v1/oauth/authorize/check Validate an authorize request for the consent page #
POST /v1/oauth/authorize/approve The signed-in user approves: returns the client redirect carrying the code #
POST /v1/oauth/authorize/deny The user declines: returns the client redirect carrying access_denied #
POST /v1/oauth/token Token endpoint: authorization_code (PKCE) and refresh_token (rotating) #
POST /v1/oauth/revoke Token revocation (RFC 7009): ends the connection #
GET /v1/oauth/keys Public keys that verify ditto.audio OAuth access tokens #
GET /v1/oauth/whoami Describe the presented credential (API key, OAuth connection or session) #

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-oauth-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-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ditto.audio OAuth 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: OAuth
paths:
  /.well-known/oauth-authorization-server:
    get:
      operationId: OAuthDiscoveryController_metadata
      parameters: []
      responses:
        '200':
          description: ''
      summary: OAuth 2.1 authorization-server metadata (RFC 8414)
      tags:
      - OAuth
  /.well-known/openid-configuration:
    get:
      operationId: OAuthDiscoveryController_openid
      parameters: []
      responses:
        '200':
          description: ''
      summary: Alias of the authorization-server metadata for clients that probe the OIDC path
      tags:
      - OAuth
  /v1/oauth/register:
    post:
      description: Public clients (PKCE) register with token_endpoint_auth_method `none`.
      operationId: OAuthController_register
      parameters: []
      responses:
        '201':
          description: ''
      summary: Dynamic Client Registration (RFC 7591)
      tags:
      - OAuth
  /v1/oauth/authorize/check:
    post:
      operationId: OAuthController_check
      parameters: []
      responses:
        '200':
          description: ''
      summary: Validate an authorize request for the consent page
      tags:
      - OAuth
  /v1/oauth/authorize/approve:
    post:
      operationId: OAuthController_approve
      parameters: []
      responses:
        '200':
          description: ''
      security:
      - bearer: []
      summary: 'The signed-in user approves: returns the client redirect carrying the code'
      tags:
      - OAuth
  /v1/oauth/authorize/deny:
    post:
      operationId: OAuthController_deny
      parameters: []
      responses:
        '200':
          description: ''
      summary: 'The user declines: returns the client redirect carrying access_denied'
      tags:
      - OAuth
  /v1/oauth/token:
    post:
      description: Form-encoded or JSON. Access tokens (`ditto_oat_…`) last one hour.
      operationId: OAuthController_token
      parameters: []
      responses:
        '200':
          description: ''
      summary: 'Token endpoint: authorization_code (PKCE) and refresh_token (rotating)'
      tags:
      - OAuth
  /v1/oauth/revoke:
    post:
      operationId: OAuthController_revoke
      parameters: []
      responses:
        '200':
          description: ''
      summary: 'Token revocation (RFC 7009): ends the connection'
      tags:
      - OAuth
  /v1/oauth/keys:
    get:
      operationId: OAuthController_keys
      parameters: []
      responses:
        '200':
          description: ''
      summary: Public keys that verify ditto.audio OAuth access tokens
      tags:
      - OAuth
  /v1/oauth/whoami:
    get:
      operationId: OAuthController_whoami
      parameters: []
      responses:
        '200':
          description: ''
      security:
      - bearer: []
      summary: Describe the presented credential (API key, OAuth connection or session)
      tags:
      - OAuth
components:
  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.