Pocket ID API

Pocket ID API as documented publicly: 7 operations. Contract generated from the documentation by API Evangelist (2026-10-26); not the provider's own document.

Operations 7

GET / GET / #
POST /api/oidc/token POST /api/oidc/token #
GET /api/users GET /api/users #
POST /api/users Create users #
GET /pocket-id/pocket-id/main/.env.example Download the Compose file and the example .env file #
GET /pocket-id/pocket-id/main/docker-compose.yml GET /pocket-id/pocket-id/main/docker-compose.yml #
GET /pocket-id/pocket-id/releases/latest/download/pocket-id_linux_amd64 Download the binary for your system from the latest release #

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/pocket-id:pocket-id-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

pocket-id-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Pocket ID API
  version: '2026-10-26'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-26: 7 operation(s) read from 6 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Pocket ID has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 4
    documentation: 3
    pages-with-code: 5
    pages-read: 6
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-26'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://pocket-id.org/docs/api
  - https://pocket-id.org/docs/guides/apis
  - https://pocket-id.org/docs/guides/oidc-client-authentication
  - https://pocket-id.org/docs/setup/installation
  - https://pocket-id.org/docs/setup/user-management
  - https://pocket-id.org/docs/setup/upgrading
paths:
  /:
    get:
      operationId: get
      tags:
      - Api
      summary: GET /
      x-source: https://pocket-id.org/docs/guides/oidc-client-authentication
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl jq - responsefile=$(mktemp) - | curl -SsfX POST --url "$POCKET_ID_URL/api/oidc/token" \ -F "grant_type=client_credentials"
          \ -F "client_id=$POCKET_ID_CLIENT_ID" \ -F "client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer" \ -F "client_assertion=$GL_PIPELINE_TOKEN"
          \ -o "$responsefile" - access_token=$(jq '.access_token' -r < "$responsefile") - echo "Successfully obtaine
  /api/oidc/token:
    post:
      operationId: post_api_oidc_token
      tags:
      - Api
      summary: POST /api/oidc/token
      x-source: https://pocket-id.org/docs/guides/apis
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl --request POST \" https://id.example.com/api/oidc/token \" \\ --form \" grant_type=client_credentials \" \\ --form \" client_id=<client-id>\
          \ \" \\ --form \" client_secret=<client-secret> \" \\ --form \" resource=https://api.orders.example.com \" \\ --form \" scope=read:orders\
          \ \" \" \\\x7F --form \"client_secret= \" \\\x7F --form \"resource=https://api.orders.example.com\" \\\x7F --form \"scope=read:orders\"\
          \"> \n Replace the URL a"
  /api/users:
    get:
      operationId: get_api_users
      tags:
      - Api
      summary: GET /api/users
      x-source: https://pocket-id.org/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -H \" X-API-KEY: <api key> \" https://id.example.com/api/users \" https://id.example.com/api/users\"> \n List endpoints\
          \ take pagination[page] and pagination[limit] query parameters and answer with the items under data and the totals under pagination\
          \ . \n Errors Section titled “Errors” \n Failed requests answer with an HTTP error status and a JSON body: \n { \"error\" : \" User\
          \ not found \" , \"code\" : \" u"
    post:
      operationId: post_api_users
      tags:
      - Api
      summary: Create users
      x-source: https://pocket-id.org/docs/setup/user-management
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /pocket-id/pocket-id/main/.env.example:
    get:
      operationId: get_pocket_id_pocket_id_main_env_example
      tags:
      - Pocket Id
      summary: Download the Compose file and the example .env file
      x-source: https://pocket-id.org/docs/setup/installation
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /pocket-id/pocket-id/main/docker-compose.yml:
    get:
      operationId: get_pocket_id_pocket_id_main_docker_compose_yml
      tags:
      - Pocket Id
      summary: GET /pocket-id/pocket-id/main/docker-compose.yml
      x-source: https://pocket-id.org/docs/setup/installation
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -O https://raw.githubusercontent.com/pocket-id/pocket-id/main/docker-compose.yml curl -o .env https://raw.githubusercontent.com/pocket-id/pocket-id/main/.env.example\
          \ \n Set the address you’ll open Pocket ID at and an encryption key in .env : \n .env APP_URL =https://id.example.com # Generate one\
          \ with: openssl rand -base64 32 ENCRYPTION_KEY =<random string of at least 16 characters> \"> \n Environ"
  /pocket-id/pocket-id/releases/latest/download/pocket-id_linux_amd64:
    get:
      operationId: get_pocket_id_pocket_id_releases_latest_download_pocket_id_linux_amd64
      tags:
      - Pocket Id
      summary: Download the binary for your system from the latest release
      x-source: https://pocket-id.org/docs/setup/installation
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY
security:
- apiKey: []
tags:
- name: Api
- name: Pocket Id