PromptOT API

PromptOT API as documented publicly: 10 operations. Contract generated from the documentation by API Evangelist (2026-11-22); not the provider's own document.

GitHub OpenAPI

Operations 10

PATCH /api/api-keys/{id}/scopes To use any of the new MCP tools or any mutating endpoint, generate a fresh key from the dashboard or upgrade an existing one with PATCH /api/api-keys/:id/scopes. #
GET /api/oauth/.well-known/oauth-authorization-server MCP OAuth Flow - PromptOT #
GET /api/oauth/.well-known/oauth-protected-resource MCP OAuth Flow - PromptOT #
POST /api/oauth/token POST /api/oauth/token #
GET /api/v1/prompts Backwards compatibility API keys created before scopes existed default to ['prompts:read'] so the legacy GET /api/v1/prompts* delivery endpoints continue to work unchanged. #
GET /api/v1/prompts/customer-support/compiled GET /api/v1/prompts/customer-support/compiled #
POST /mcp POST /mcp #
GET /v1/prompts List all prompts in the project associated with the API key. #
GET /v1/prompts/{id} GET /v1/prompts/:id delivery endpoint returns a stable response shape. #
GET /v1/prompts/{slug}/compiled Fetch a compiled prompt with variables resolved. #

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/promptot-com:promptot-com-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

promptot-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: PromptOT API
  version: '2026-11-22'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-22: 10 operation(s) read from 4 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; PromptOT has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 3
    documentation: 7
    pages-with-code: 2
    pages-read: 4
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-22'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://www.promptot.com/docs/api
  - https://www.promptot.com/docs/mcp/oauth
  - https://www.promptot.com/docs/mcp/scopes
  - https://www.promptot.com/docs/mcp/troubleshooting
servers:
- url: https://mcp.promptot.com
paths:
  /api/api-keys/{id}/scopes:
    patch:
      operationId: patch_api_api_keys_id_scopes
      tags:
      - Api
      summary: To use any of the new MCP tools or any mutating endpoint, generate a fresh key from the dashboard or upgrade an existing one with
        PATCH /api/api-keys/:id/scopes.
      x-source: https://www.promptot.com/docs/mcp/scopes
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/oauth/.well-known/oauth-authorization-server:
    get:
      operationId: get_api_oauth_well_known_oauth_authorization_server
      tags:
      - Api
      summary: MCP OAuth Flow - PromptOT
      x-source: https://www.promptot.com/docs/mcp/oauth
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiOauthWellKnownOauthAuthorizationServerResponse'
      x-evidence:
        kind: documentation
  /api/oauth/.well-known/oauth-protected-resource:
    get:
      operationId: get_api_oauth_well_known_oauth_protected_resource
      tags:
      - Api
      summary: MCP OAuth Flow - PromptOT
      x-source: https://www.promptot.com/docs/mcp/oauth
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiOauthWellKnownOauthProtectedResourceResponse'
      x-evidence:
        kind: documentation
  /api/oauth/token:
    post:
      operationId: post_api_oauth_token
      tags:
      - Api
      summary: POST /api/oauth/token
      x-source: https://www.promptot.com/docs/mcp/oauth
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -s -X POST https://mcp.promptot.com/api/oauth/token  -H \"Content-Type: application/json\"  -d \"{\n \\\"grant_type\\\"\
          : \\\"authorization_code\\\",\n \\\"code\\\": \\\"$CODE\\\",\n \\\"code_verifier\\\": \\\"$VERIFIER\\\",\n \\\"redirect_uri\\\": \\\"\
          http://localhost:8765/cb\\\",\n \\\"client_id\\\": \\\"demo-cli\\\"\n }\""
  /api/v1/prompts:
    get:
      operationId: get_api_v1_prompts
      tags:
      - Api
      summary: Backwards compatibility API keys created before scopes existed default to ['prompts:read'] so the legacy GET /api/v1/prompts* delivery
        endpoints continue to work unchanged.
      x-source: https://www.promptot.com/docs/mcp/scopes
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/prompts/customer-support/compiled:
    get:
      operationId: get_api_v1_prompts_customer_support_compiled
      tags:
      - Api
      summary: GET /api/v1/prompts/customer-support/compiled
      x-source: https://www.promptot.com/docs/api
      parameters:
      - name: variables
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1PromptsCustomerSupportCompiledResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl "https://api.promptot.com/api/v1/prompts/customer-support/compiled?variables=%7B%22user_name%22%3A%22Alex%22%7D" \ -H "Authorization:
          Bearer pk_live_abc123..." Response json { "data" : { "prompt" : "## Role\nYou are a friendly customer support agent...\n" , "version"
          : "3" , "tokens" : 142 , "variables_used" : [ "user_name" , "tone" ], "prompt_id" : "a1b2c3d4-e5f6-..." , "project_id" : "f7e8d'
  /mcp:
    post:
      operationId: post_mcp
      tags:
      - Mcp
      summary: POST /mcp
      x-source: https://www.promptot.com/docs/mcp/oauth
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMcpRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s -X POST https://mcp.promptot.com/mcp  -H "Authorization: Bearer pot_YOUR_KEY_HERE"  -H "Content-Type: application/json"  -d
          ''{"jsonrpc":"2.0","id":1,"method":"tools/list"}'' Revoking access Open the dashboard''s API Keys page for the project the key was scoped
          to. Find the row named MCP — claude.ai (or whichever client_id approved the consent) and click Revoke. The next request from that cli'
  /v1/prompts:
    get:
      operationId: get_v1_prompts
      tags:
      - Prompts
      summary: List all prompts in the project associated with the API key.
      x-source: https://www.promptot.com/docs/api
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1PromptsResponse'
      x-evidence:
        kind: documentation
  /v1/prompts/{id}:
    get:
      operationId: get_v1_prompts_id
      tags:
      - Prompts
      summary: GET /v1/prompts/:id delivery endpoint returns a stable response shape.
      x-source: https://www.promptot.com/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1PromptsIdResponse'
      x-evidence:
        kind: documentation
  /v1/prompts/{slug}/compiled:
    get:
      operationId: get_v1_prompts_slug_compiled
      tags:
      - Prompts
      summary: Fetch a compiled prompt with variables resolved.
      x-source: https://www.promptot.com/docs/api
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: variables
        in: query
        required: false
        schema:
          type: string
        description: JSON object of variable key-value pairs
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1PromptsSlugCompiledResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiOauthWellKnownOauthAuthorizationServerResponse:
      type: object
      properties:
        issuer:
          type: string
        authorization_endpoint:
          type: string
        token_endpoint:
          type: string
        response_types_supported:
          type: array
        grant_types_supported:
          type: array
        code_challenge_methods_supported:
          type: array
        token_endpoint_auth_methods_supported:
          type: array
        scopes_supported:
          type: array
    GetApiOauthWellKnownOauthProtectedResourceResponse:
      type: object
      properties:
        resource:
          type: string
        authorization_servers:
          type: array
        bearer_methods_supported:
          type: array
        scopes_supported:
          type: array
    GetApiV1PromptsCustomerSupportCompiledResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            prompt:
              type: string
            version:
              type: string
            tokens:
              type: integer
            variables_used:
              type: array
              items:
                type: string
            prompt_id:
              type: string
            project_id:
              type: string
        error:
          type:
          - string
          - 'null'
    PostMcpRequest:
      type: object
      properties:
        jsonrpc:
          type: string
        id:
          type: integer
        method:
          type: string
    GetV1PromptsResponse:
      type: object
      properties:
        id:
          type: string
          description: Prompt UUID
        name:
          type: string
          description: Prompt display name
        slug:
          type: string
          description: Prompt slug
        current_version:
          type: string
          description: Current version number
    GetV1PromptsIdResponse:
      type: object
      properties:
        id:
          type: string
          description: Prompt UUID
        name:
          type: string
          description: Prompt display name
        compiled_prompt:
          type: string
          description: Full compiled prompt string with variables resolved
        model_config:
          type: object
          description: Model configuration snapshot (model, temperature, etc.)
        variables:
          type: array
          description: Array of variable objects
        version:
          type: integer
          description: Version number
        etag:
          type: string
          description: ETag for conditional requests
    GetV1PromptsSlugCompiledResponse:
      type: object
      properties:
        prompt:
          type: string
          description: Full compiled prompt string with variables resolved
        version:
          type: string
          description: Version number
        tokens:
          type: integer
          description: Token count
        variables_used:
          type: array
          description: List of variable keys used
        prompt_id:
          type: string
          description: Prompt UUID
        project_id:
          type: string
          description: Project UUID
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Mcp
- name: Prompts