OpenProof Admin Console API

The admin-console API from OpenProof — 13 operation(s) for admin-console.

GitHub OpenAPI

Operations 14

GET /admin/console/users Search Users #
POST /admin/console/users Create User #
GET /admin/console/users/{user_id} User Detail #
GET /admin/console/audit Recent Actions #
POST /admin/console/users/{user_id}/plan Set Plan #
POST /admin/console/users/{user_id}/send-link Send Link #
POST /admin/console/users/{user_id}/revoke-sessions Revoke Sessions #
POST /admin/console/users/{user_id}/suspend Suspend #
POST /admin/console/users/{user_id}/reset-trial Reset Trial #
POST /admin/console/users/{user_id}/delete Delete User #
GET /admin/console/user-options User Options #
POST /admin/console/users/{user_id}/view-as View As #
GET /admin/console/diagnostics/client-address Client Address Diagnostic #
POST /admin/console/users/{user_id}/reset-2fa Reset 2Fa #

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-admin-console-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-admin-console-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Openproof Io Admin Console API
  version: 1.0.0
  description: 'Operations tagged admin-console 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: admin-console
paths:
  /admin/console/users:
    get:
      tags:
      - admin-console
      summary: Search Users
      description: Find accounts by email or company. An empty search lists the newest sign-ups.
      operationId: search_users_admin_console_users_get
      security:
      - HTTPBearer: []
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Q
      - name: include_deleted
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Deleted
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - admin-console
      summary: Create User
      description: Add an account. The person signs in with a link emailed to them and accepts the Terms on first sign-in, as everyone does.
      operationId: create_user_admin_console_users_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewUserBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/console/users/{user_id}:
    get:
      tags:
      - admin-console
      summary: User Detail
      operationId: user_detail_admin_console_users__user_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/console/audit:
    get:
      tags:
      - admin-console
      summary: Recent Actions
      operationId: recent_actions_admin_console_audit_get
      security:
      - HTTPBearer: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/console/users/{user_id}/plan:
    post:
      tags:
      - admin-console
      summary: Set Plan
      description: 'Set a plan and its end date. A paid plan given here needs an end date unless the account has a live Razorpay

        subscription, so a free grant cannot be left running forever by accident.'
      operationId: set_plan_admin_console_users__user_id__plan_post
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlanBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/console/users/{user_id}/send-link:
    post:
      tags:
      - admin-console
      summary: Send Link
      operationId: send_link_admin_console_users__user_id__send_link_post
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReasonBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/console/users/{user_id}/revoke-sessions:
    post:
      tags:
      - admin-console
      summary: Revoke Sessions
      operationId: revoke_sessions_admin_console_users__user_id__revoke_sessions_post
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReasonBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/console/users/{user_id}/suspend:
    post:
      tags:
      - admin-console
      summary: Suspend
      operationId: suspend_admin_console_users__user_id__suspend_post
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuspendBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/console/users/{user_id}/reset-trial:
    post:
      tags:
      - admin-console
      summary: Reset Trial
      description: Lets an account start a new 14-day trial. Does not start one; the customer does that themselves.
      operationId: reset_trial_admin_console_users__user_id__reset_trial_post
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReasonBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/console/users/{user_id}/delete:
    post:
      tags:
      - admin-console
      summary: Delete User
      description: 'The same deletion a customer gets from their own settings: cancels a live subscription, ends team access, and the

        retention job removes the rest on its normal schedule. You must type the account''s exact email.'
      operationId: delete_user_admin_console_users__user_id__delete_post
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/console/user-options:
    get:
      tags:
      - admin-console
      summary: User Options
      description: Every live account (up to 500, by email) for the 'view as' dropdown.
      operationId: user_options_admin_console_user_options_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /admin/console/users/{user_id}/view-as:
    post:
      tags:
      - admin-console
      summary: View As
      description: A 30-minute, read-only token for seeing the customer's dashboard as they see it.
      operationId: view_as_admin_console_users__user_id__view_as_post
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReasonBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/console/diagnostics/client-address:
    get:
      tags:
      - admin-console
      summary: Client Address Diagnostic
      operationId: client_address_diagnostic_admin_console_diagnostics_client_address_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /admin/console/users/{user_id}/reset-2fa:
    post:
      tags:
      - admin-console
      summary: Reset 2Fa
      description: Turns off a customer's two-step sign-in so they can sign in with the email link and set it up again. Signs them out everywhere.
      operationId: reset_2fa_admin_console_users__user_id__reset_2fa_post
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReasonBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ReasonBody:
      properties:
        reason:
          type: string
          title: Reason
      type: object
      required:
      - reason
      title: ReasonBody
    NewUserBody:
      properties:
        email:
          type: string
          title: Email
        company_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Company Name
        plan:
          type: string
          title: Plan
          default: free
        access_until:
          anyOf:
          - type: string
          - type: 'null'
          title: Access Until
        send_link:
          type: boolean
          title: Send Link
          default: true
        reason:
          type: string
          title: Reason
      type: object
      required:
      - email
      - reason
      title: NewUserBody
    DeleteBody:
      properties:
        confirm_email:
          type: string
          title: Confirm Email
        reason:
          type: string
          title: Reason
      type: object
      required:
      - confirm_email
      - reason
      title: DeleteBody
    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
    PlanBody:
      properties:
        plan:
          type: string
          title: Plan
        access_until:
          anyOf:
          - type: string
          - type: 'null'
          title: Access Until
        acknowledge_billing:
          type: boolean
          title: Acknowledge Billing
          default: false
        reason:
          type: string
          title: Reason
      type: object
      required:
      - plan
      - reason
      title: PlanBody
    SuspendBody:
      properties:
        suspended:
          type: boolean
          title: Suspended
        reason:
          type: string
          title: Reason
      type: object
      required:
      - suspended
      - reason
      title: SuspendBody
  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)