Pingwa Keys API

The Keys API from Pingwa — 2 operation(s) for keys.

GitHub OpenAPI

Operations 3

GET /v1/keys List Keys #
POST /v1/keys Create Key #
DELETE /v1/keys/{key_id} Revoke 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/pingwa-dev:pingwa-dev-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. 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

pingwa-dev-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: pingwa Keys API
  version: 0.1.0
tags:
- name: Keys
paths:
  /v1/keys:
    get:
      summary: List Keys
      description: 'Active API keys for this account (names + timestamps, never the secrets).

        Revoke with DELETE /v1/keys/{id}, or from the phone: ''revoke ''.


        embed-01: a partner''s connection is not one of the user''s keys (it uses no key slot):

        it is listed apart, in `connected_apps` (the partner''s name, connected since, last

        used; revoked with the same DELETE), present only when there is one.'
      operationId: list_keys_v1_keys_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Keys V1 Keys Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Keys
    post:
      summary: Create Key
      description: 'Mint a named key, optionally limited to `scopes` (keys-01). The key is in this

        response only. A scoped caller (it needs ''manage'') can''t mint a scope it lacks,

        nor a full-access key.'
      operationId: create_key_v1_keys_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KeyIn'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Create Key V1 Keys Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Keys
  /v1/keys/{key_id}:
    delete:
      summary: Revoke Key
      description: 'Revoke one key (allowed for the caller''s own key too — revoking your last

        key is legal; the phone can always mint a fresh one via ''join'').'
      operationId: revoke_key_v1_keys__key_id__delete
      parameters:
      - name: key_id
        in: path
        required: true
        schema:
          type: string
          title: Key Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Revoke Key V1 Keys  Key Id  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Keys
components:
  schemas:
    KeyIn:
      properties:
        name:
          type: string
          pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,47}$
          title: Name
        scopes:
          anyOf:
          - items:
              type: string
            type: array
          - type: string
          - type: 'null'
          title: Scopes
      type: object
      required:
      - name
      title: KeyIn
    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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError