OpenProof Auth API

The auth API from OpenProof — 10 operation(s) for auth.

GitHub OpenAPI

Operations 12

POST /auth/magic-link Request Magic Link #
POST /auth/verify Verify Magic Link #
GET /auth/me Get Me #
PATCH /auth/me Update Me #
GET /auth/activity-summary Get Activity Summary #
PUT /auth/activity-summary Put Activity Summary #
POST /auth/logout Logout #
POST /auth/revoke-sessions Revoke All Sessions #
GET /auth/terms-status Terms Status #
POST /auth/accept-terms Accept Terms #
POST /auth/delete-account Delete Account #

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-auth-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-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Openproof Io Auth API
  version: 1.0.0
  description: 'Operations tagged auth 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: Auth
paths:
  /auth/magic-link:
    post:
      tags:
      - Auth
      summary: Request Magic Link
      operationId: request_magic_link_auth_magic_link_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MagicLinkRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/verify:
    post:
      tags:
      - Auth
      summary: Verify Magic Link
      operationId: verify_magic_link_auth_verify_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MagicLinkVerify'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/me:
    get:
      tags:
      - Auth
      summary: Get Me
      operationId: get_me_auth_me_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
      security:
      - HTTPBearer: []
    patch:
      tags:
      - Auth
      summary: Update Me
      operationId: update_me_auth_me_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProfileUpdate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /auth/activity-summary:
    get:
      tags:
      - Auth
      summary: Get Activity Summary
      description: 'The activity summary email for the caller''s OWN account (Batch D): off (default), daily or weekly. It is the account owner''s

        choice: it only ever reads or changes the caller''s own row, never a business they work in as a team member.'
      operationId: get_activity_summary_auth_activity_summary_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
    put:
      tags:
      - Auth
      summary: Put Activity Summary
      operationId: put_activity_summary_auth_activity_summary_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActivitySummaryUpdate'
        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: []
  /auth/consent-logs:
    get:
      tags:
      - Auth
      summary: Get My Consent Logs
      operationId: get_my_consent_logs_auth_consent_logs_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /auth/logout:
    post:
      tags:
      - Auth
      summary: Logout
      description: 'audit-b9: end THIS session on the server. The token''s id goes on the revoked list, so a copied token stops working

        immediately (other devices stay signed in; use /revoke-sessions to end them all). Never errors: logging out must always

        succeed from the person''s side, even with an expired or missing token.'
      operationId: logout_auth_logout_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /auth/revoke-sessions:
    post:
      tags:
      - Auth
      summary: Revoke All Sessions
      description: 'Security hardening item 1 (23 Sep 2026) -- ''log out all devices''.

        Bumps token_version so every access token issued before this

        moment (across every browser/device) now fails the `tv` check in

        get_current_user, regardless of its remaining expiry. Coarse

        (all-or-nothing), not per-device selective revocation -- that would

        need a real per-token session table, a bigger build than what this

        backlog item asked for.


        Includes the CALLING device''s own current token -- the frontend

        must clear local storage and redirect to login right after this

        call returns, not expect to remain signed in, since this request''s

        own token becomes invalid the instant the commit below lands.'
      operationId: revoke_all_sessions_auth_revoke_sessions_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /auth/terms-status:
    get:
      tags:
      - Auth
      summary: Terms Status
      operationId: terms_status_auth_terms_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /auth/accept-terms:
    post:
      tags:
      - Auth
      summary: Accept Terms
      operationId: accept_terms_auth_accept_terms_post
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - type: object
              - type: 'null'
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /auth/delete-account:
    post:
      tags:
      - Auth
      summary: Delete Account
      operationId: delete_account_auth_delete_account_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
components:
  schemas:
    UserResponse:
      properties:
        id:
          type: string
          title: Id
        email:
          type: string
          title: Email
        company_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Company Name
        plan:
          type: string
          title: Plan
        activated:
          type: boolean
          title: Activated
        created_at:
          type: string
          title: Created At
        grievance_officer_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Grievance Officer Name
        grievance_officer_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Grievance Officer Email
      type: object
      required:
      - id
      - email
      - company_name
      - plan
      - activated
      - created_at
      title: UserResponse
    ActivitySummaryUpdate:
      properties:
        choice:
          type: string
          title: Choice
      type: object
      required:
      - choice
      title: ActivitySummaryUpdate
    ProfileUpdate:
      properties:
        company_name:
          type: string
          title: Company Name
        grievance_officer_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Grievance Officer Name
        grievance_officer_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Grievance Officer Email
      type: object
      required:
      - company_name
      title: ProfileUpdate
    MagicLinkVerify:
      properties:
        token:
          type: string
          title: Token
      type: object
      required:
      - token
      title: MagicLinkVerify
    TokenResponse:
      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: TokenResponse
    MagicLinkRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
        accept_terms:
          type: boolean
          title: Accept Terms
          default: false
        company_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Company Name
        consent:
          type: boolean
          title: Consent
          default: false
        source_page:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Page
        assessment_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Assessment Id
      type: object
      required:
      - email
      title: MagicLinkRequest
    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)