ASAP · Schema

AuthContextResponse

FreelanceBillingCRMProductivity

Properties

Name Type Description
active_org_id stringnull Active org for this caller. Present for token principals (API key / OAuth, where it is fixed at issuance) and for session callers that have selected an org; `None` only for a session with no active or
email stringnull Signed-in user email — `None` for token principals.
memberships array Org memberships of the signed-in user — empty for token principals.
user_id stringnull Signed-in user id — `None` for token principals (API key / OAuth), which authenticate an org rather than a user.
View JSON Schema on GitHub

JSON Schema

asap-cool-auth-context-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-auth-context-response-schema.json",
  "title": "AuthContextResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-auth-api-openapi.yml#/components/schemas/AuthContextResponse",
  "type": "object",
  "required": [
    "memberships"
  ],
  "properties": {
    "active_org_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Active org for this caller. Present for token principals (API key /\nOAuth, where it is fixed at issuance) and for session callers that have\nselected an org; `None` only for a session with no active org."
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Signed-in user email — `None` for token principals."
    },
    "memberships": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MeMembership"
      },
      "description": "Org memberships of the signed-in user — empty for token principals."
    },
    "user_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Signed-in user id — `None` for token principals (API key / OAuth),\nwhich authenticate an org rather than a user."
    }
  },
  "$defs": {
    "MeMembership": {
      "type": "object",
      "required": [
        "org_id",
        "role"
      ],
      "properties": {
        "org_id": {
          "type": "string",
          "format": "uuid"
        },
        "role": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/asap-cool-auth-context-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.