OpenProof Team API

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

GitHub OpenAPI

Operations 9

GET /team/me Get My Role #
GET /team/businesses My Businesses #
PATCH /team/security Update Security #
PATCH /team/members/{membership_id} Update Member #
DELETE /team/members/{membership_id} Revoke Membership #
POST /team/invite Invite Teammate #
GET /team/members List Members #
GET /team/seats Seat Usage #
POST /team/accept Accept Invite #

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-team-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-team-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Openproof Io Team API
  version: 1.0.0
  description: 'Operations tagged team 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: Team
paths:
  /team/me:
    get:
      tags:
      - Team
      summary: Get My Role
      description: 'The caller''s own role on the business they''re currently acting on,

        plus that business''s real identity fields (added 8 Aug 2026) --

        lets the frontend know whether to show write-action UI at all, and

        show the BUSINESS''s actual plan/name/grievance-officer contact

        rather than whichever individual teammate happens to be logged in.

        Every account resolves to ''owner'' on their own business_id by

        default (unchanged single-user behavior, and for an owner the

        business fields are simply their own); only an active teammate

        resolves to ''editor''/''viewer'' on someone else''s, with that someone

        else''s identity fields.'
      operationId: get_my_role_team_me_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MyRoleResponse'
      security:
      - HTTPBearer: []
  /team/businesses:
    get:
      tags:
      - Team
      summary: My Businesses
      description: 'Every business this person can act on: their own, and each one they hold an active, unexpired membership in.

        The switcher in the app lists these; the one in use is marked current.'
      operationId: my_businesses_team_businesses_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /team/security:
    patch:
      tags:
      - Team
      summary: Update Security
      description: 'Owner-only access rules for the business: require two-step sign-in for teammates, and shorten how long a

        sign-in lasts (1 to 168 hours; the default is 7 days). Both are recorded in the timeline.'
      operationId: update_security_team_security_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SecuritySettings'
        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: []
  /team/members/{membership_id}:
    patch:
      tags:
      - Team
      summary: Update Member
      description: Change a teammate's role or end date. Owner-only. An auditor must keep an end date.
      operationId: update_member_team_members__membership_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: membership_id
        in: path
        required: true
        schema:
          type: string
          title: Membership Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MemberUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Team
      summary: Revoke Membership
      description: 'Revoke a teammate''s access (or cancel a still-pending invite).

        Owner-only, same as invite.'
      operationId: revoke_membership_team_members__membership_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: membership_id
        in: path
        required: true
        schema:
          type: string
          title: Membership Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /team/invite:
    post:
      tags:
      - Team
      summary: Invite Teammate
      description: 'Invite a teammate onto the current user''s business. Only an owner

        may invite (require_role(owner) above) -- editors/viewers can''t grant

        access to others. Role is restricted to editor/viewer: an invite can

        never grant "owner" (there is exactly one owner per business -- the

        original account holder -- in this basic-scope version; ownership

        transfer isn''t supported yet).'
      operationId: invite_teammate_team_invite_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InviteRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MembershipResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /team/members:
    get:
      tags:
      - Team
      summary: List Members
      description: 'List everyone with access to the current business (any active

        membership, plus pending invites) -- viewer role and above can see

        the team list, only owner can invite/revoke.'
      operationId: list_members_team_members_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MembershipResponse'
                type: array
                title: Response List Members Team Members Get
      security:
      - HTTPBearer: []
  /team/seats:
    get:
      tags:
      - Team
      summary: Seat Usage
      description: 'Team members the business''s plan allows besides the owner, how many places are taken (pending invites included,

        outside auditors not), and, when no place is free, the same message an invite would get. The Team screen shows it.'
      operationId: seat_usage_team_seats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /team/accept:
    post:
      tags:
      - Team
      summary: Accept Invite
      description: 'Accept a team invite. Deliberately NOT behind get_current_user --

        the invitee may not have an OpenProof account yet at all. The token

        itself (verified via the same verify_token used for magic/access

        tokens) is the authentication for this step; membership_id is its

        `sub` claim.'
      operationId: accept_invite_team_accept_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AcceptResponse:
      properties:
        access_token:
          anyOf:
          - type: string
          - type: 'null'
          title: Access Token
        token_type:
          type: string
          title: Token Type
          default: bearer
        two_factor_required:
          type: boolean
          title: Two Factor Required
          default: false
        challenge:
          anyOf:
          - type: string
          - type: 'null'
          title: Challenge
        setup_required:
          type: boolean
          title: Setup Required
          default: false
      type: object
      title: AcceptResponse
    MembershipResponse:
      properties:
        id:
          type: string
          title: Id
        invited_email:
          type: string
          title: Invited Email
        role:
          type: string
          title: Role
        status:
          type: string
          title: Status
        member_user_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Member User Id
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
        accepted_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Accepted At
        expires_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Expires At
        expired:
          type: boolean
          title: Expired
          default: false
      type: object
      required:
      - id
      - invited_email
      - role
      - status
      title: MembershipResponse
    MemberUpdate:
      properties:
        role:
          anyOf:
          - type: string
          - type: 'null'
          title: Role
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
        clear_expiry:
          type: boolean
          title: Clear Expiry
          default: false
      type: object
      title: MemberUpdate
    SecuritySettings:
      properties:
        team_require_2fa:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Team Require 2Fa
        session_hours:
          anyOf:
          - type: integer
          - type: 'null'
          title: Session Hours
        reset_session:
          type: boolean
          title: Reset Session
          default: false
      type: object
      title: SecuritySettings
    InviteRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
        role:
          type: string
          title: Role
          default: viewer
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
      type: object
      required:
      - email
      title: InviteRequest
    AcceptRequest:
      properties:
        token:
          type: string
          title: Token
      type: object
      required:
      - token
      title: AcceptRequest
    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
    MyRoleResponse:
      properties:
        role:
          type: string
          title: Role
        is_owner:
          type: boolean
          title: Is Owner
        business_id:
          type: string
          title: Business Id
        company_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Company Name
        plan:
          type: string
          title: Plan
        grievance_officer_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Grievance Officer Name
        grievance_officer_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Grievance Officer Email
        is_account_creator:
          type: boolean
          title: Is Account Creator
          default: false
        expires_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Expires At
        team_require_2fa:
          type: boolean
          title: Team Require 2Fa
          default: false
        session_hours:
          anyOf:
          - type: integer
          - type: 'null'
          title: Session Hours
        needs_2fa:
          type: boolean
          title: Needs 2Fa
          default: false
        members_without_2fa:
          anyOf:
          - type: integer
          - type: 'null'
          title: Members Without 2Fa
      type: object
      required:
      - role
      - is_owner
      - business_id
      - plan
      title: MyRoleResponse
  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)