CommsHarbor Auth API

The Auth API from CommsHarbor — 3 operation(s) for auth.

Operations 3

POST /api/auth/start Send a one-time login code to an email address #
POST /api/auth/verify Exchange a one-time code for a session #
POST /api/auth/logout Revoke the session in use right now #

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/commsharbor-auth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

commsharbor-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CommsHarbor Auth API
  version: 2d690e87
  description: CommsHarbor API. Organization identity is explicit and tenant-scoped.
servers:
- url: https://commsharbor.com
tags:
- name: Auth
paths:
  /api/auth/start:
    post:
      operationId: commsharbor_auth_start
      summary: Send a one-time login code to an email address
      description: 'Returns: { sent, expires_in }'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: Where to send the code.
              required:
              - email
            example:
              email: owner@example.com
      responses:
        '200':
          description: '{ sent, expires_in }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  sent:
                    type: boolean
                    description: Whether the message was accepted for delivery.
                  expires_in:
                    type: integer
                    description: Seconds until the code stops working.
                required:
                - sent
                - expires_in
        '400':
          description: Missing or malformed email.
        '429':
          description: Too many codes requested for this address.
      tags:
      - Auth
  /api/auth/verify:
    post:
      operationId: commsharbor_auth_verify
      summary: Exchange a one-time code for a session
      description: 'Returns: { user{id,email}, session_token }'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: The address the code was sent to.
                code:
                  type: string
                  description: The six digits from the email.
              required:
              - email
              - code
            example:
              email: owner@example.com
              code: '123456'
      responses:
        '200':
          description: '{ user{id,email}, session_token }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  user:
                    allOf:
                    - $ref: '#/components/schemas/User'
                    description: The person who just signed in.
                  session_token:
                    type: string
                    description: Bearer token for `Authorization`. It implies no organization on its own.
                required:
                - user
                - session_token
        '400':
          description: Wrong or expired code.
        '429':
          description: Too many attempts.
      tags:
      - Auth
  /api/auth/logout:
    post:
      operationId: commsharbor_logout
      summary: Revoke the session in use right now
      description: 'Returns: { ok }'
      security:
      - bearerAuth: []
      responses:
        '200':
          description: '{ ok }'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Ok'
        '401':
          description: No session, or the session expired.
      tags:
      - Auth
components:
  schemas:
    Ok:
      type: object
      properties:
        ok:
          type: boolean
          description: Always true — failures arrive as a 4xx/5xx status, never as `ok:false`.
      required:
      - ok
      description: Write confirmation for an operation with no body of its own.
    User:
      type: object
      properties:
        id:
          type: string
          description: User ID.
        email:
          type: string
          description: Email address confirmed by one-time code.
      required:
      - id
      - email
      description: The person behind the session.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Human session or scoped organization API key. Organization identity remains explicit.