ThunderPhone Authentication API

The Authentication API from ThunderPhone — 1 operation(s) for authentication.

GitHub OpenAPI

Operations 1

GET /v1/whoami Whoami list #

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/thunderphone-com:thunderphone-com-authentication-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

thunderphone-com-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThunderPhone Authentication API
  version: 1.0.0
  description: Programmatic access to the ThunderPhone platform — agents, phone numbers, calls, billing, webhooks, and more. See https://thunderphone.com/docs and https://thunderphone.com/developers for the reference, tutorials and migration guides.
  contact:
    name: ThunderPhone support
    url: https://thunderphone.com/docs
servers:
- url: https://api.thunderphone.com
  description: Production
tags:
- name: Authentication
paths:
  /v1/whoami:
    get:
      operationId: whoami_list
      description: Validate the current API key, human session, or OAuth token and return its organization and non-sensitive credential identity.
      tags:
      - Authentication
      security:
      - bearerAuth: []
      - bearerAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WhoAmI'
          description: ''
      summary: Whoami list
      x-summary-source: derived
components:
  schemas:
    CredentialKindEnum:
      enum:
      - api_key
      - session
      - oauth
      type: string
      description: '* `api_key` - api_key

        * `session` - session

        * `oauth` - oauth'
    WhoAmI:
      type: object
      properties:
        organization:
          allOf:
          - $ref: '#/components/schemas/WhoAmIOrganization'
          readOnly: true
        credential_kind:
          allOf:
          - $ref: '#/components/schemas/CredentialKindEnum'
          readOnly: true
        key_label:
          type:
          - string
          - 'null'
          readOnly: true
        key_prefix:
          type:
          - string
          - 'null'
          readOnly: true
        oauth_client_id:
          type:
          - string
          - 'null'
          readOnly: true
        scopes:
          type: array
          items:
            type: string
          readOnly: true
        role:
          type:
          - string
          - 'null'
          readOnly: true
      required:
      - credential_kind
      - key_label
      - key_prefix
      - oauth_client_id
      - organization
      - role
      - scopes
    WhoAmIOrganization:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
          readOnly: true
      required:
      - id
      - name
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_live_…
      description: 'Organization API key. Send Authorization: Bearer sk_live_…; create a key in the dashboard.'
    humanToken:
      type: apiKey
      in: header
      name: Authorization
      description: 'Human session token: Authorization: Token <session-token>. Organization API keys are rejected by key-management and account-control operations.'
x-mcp-server: https://api.thunderphone.com/v1/mcp