OpenProof Permissions API

The permissions API from OpenProof — 8 operation(s) for permissions.

GitHub OpenAPI

Operations 8

GET /permissions Get Permissions #
PUT /permissions/rules Put Permission Rules #
GET /permissions/me My Permissions #
GET /approvals List Approvals #
GET /approvals/count Count Approvals #
POST /approvals/{request_id}/approve Approve Request #
POST /approvals/{request_id}/reject Reject Request #
POST /approvals/{request_id}/cancel Cancel Request #

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/openproof-io:openproof-io-permissions-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

openproof-io-permissions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Openproof Io Permissions API
  version: 1.0.0
  description: 'Operations tagged permissions across 2 of this provider''s published API definitions: openapi.json, openproof-io-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Permissions
paths:
  /permissions:
    get:
      tags:
      - Permissions
      summary: Get Permissions
      description: 'The Permissions screen: every dangerous action, the built-in default for each role, the owner''s rules (per role and

        per person) and what is in force for each team member now. Account owner only, on every plan (read-only below the

        minimum plan).'
      operationId: get_permissions_permissions_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /permissions/rules:
    put:
      tags:
      - Permissions
      summary: Put Permission Rules
      description: 'Saves the owner''s changes. Account owner only, and only on the minimum plan or above (402 below it). Each change is

        recorded on the Timeline with ids only. All changes are checked before any is saved.'
      operationId: put_permission_rules_permissions_rules_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RuleChanges'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /permissions/me:
    get:
      tags:
      - Permissions
      summary: My Permissions
      description: 'What this person may do on the business in use, per dangerous action (allow, approval or deny), and their own requests

        still waiting. The dashboard uses it to label buttons before anyone tries; the server enforces it either way.'
      operationId: my_permissions_permissions_me_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /approvals:
    get:
      tags:
      - Permissions
      summary: List Approvals
      description: 'The owner: every pending request and the recent decisions. Anyone else: their own requests.'
      operationId: list_approvals_approvals_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /approvals/count:
    get:
      tags:
      - Permissions
      summary: Count Approvals
      description: 'For the navigation badge: requests waiting for the owner, or the person''s own waiting requests.'
      operationId: count_approvals_approvals_count_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /approvals/{request_id}/approve:
    post:
      tags:
      - Permissions
      summary: Approve Request
      operationId: approve_request_approvals__request_id__approve_post
      security:
      - HTTPBearer: []
      parameters:
      - name: request_id
        in: path
        required: true
        schema:
          type: string
          title: Request Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /approvals/{request_id}/reject:
    post:
      tags:
      - Permissions
      summary: Reject Request
      operationId: reject_request_approvals__request_id__reject_post
      security:
      - HTTPBearer: []
      parameters:
      - name: request_id
        in: path
        required: true
        schema:
          type: string
          title: Request Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /approvals/{request_id}/cancel:
    post:
      tags:
      - Permissions
      summary: Cancel Request
      operationId: cancel_request_approvals__request_id__cancel_post
      security:
      - HTTPBearer: []
      parameters:
      - name: request_id
        in: path
        required: true
        schema:
          type: string
          title: Request Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RuleChanges:
      properties:
        changes:
          items:
            $ref: '#/components/schemas/RuleChange'
          type: array
          title: Changes
      type: object
      required:
      - changes
      title: RuleChanges
    RuleChange:
      properties:
        subject_type:
          type: string
          title: Subject Type
        subject:
          type: string
          title: Subject
        action_key:
          type: string
          title: Action Key
        setting:
          anyOf:
          - type: string
          - type: 'null'
          title: Setting
      type: object
      required:
      - subject_type
      - subject
      - action_key
      title: RuleChange
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- openapi.json
- openproof-io-openapi.json
x-provenance:
  method: harvested
  publisher: OpenProof
  source: https://api.openproof.io/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)