Okareo Auth & API Keys API

Authentication, token exchange, and API key management.

Operations 6

POST /v0/auth/sso/initiate Sso Initiate #
POST /v0/auth/sso/logout Sso Logout #
POST /v0/auth/token/exchange Token Exchange #
GET /v0/api-keys List Api Keys #
POST /v0/api-keys Create Api Key #
DELETE /v0/api-keys/{key_id} Delete Api Key #

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/okareo:okareo-auth-api-keys-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

okareo-auth-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Okareo Auth & API Keys API
  version: 0.1.0
  description: Authentication, token exchange, and API key management.
servers:
- url: https://api.okareo.com
tags:
- name: Auth & API Keys
  description: Authentication, token exchange, and API key management.
paths:
  /v0/auth/sso/initiate:
    post:
      tags:
      - Auth & API Keys
      summary: Sso Initiate
      operationId: sso_initiate_v0_auth_sso_initiate_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v0/auth/sso/logout:
    post:
      tags:
      - Auth & API Keys
      summary: Sso Logout
      operationId: sso_logout_v0_auth_sso_logout_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v0/auth/token/exchange:
    post:
      tags:
      - Auth & API Keys
      summary: Token Exchange
      operationId: token_exchange_v0_auth_token_exchange_post
      parameters:
      - name: tenant_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Tenant Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenExchangeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v0/api-keys:
    get:
      tags:
      - Auth & API Keys
      summary: List Api Keys
      operationId: list_api_keys_v0_api_keys_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiKeyListItem'
                type: array
                title: Response List Api Keys V0 Api Keys Get
    post:
      tags:
      - Auth & API Keys
      summary: Create Api Key
      operationId: create_api_key_v0_api_keys_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateApiKeyPayload'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateApiKeyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v0/api-keys/{key_id}:
    delete:
      tags:
      - Auth & API Keys
      summary: Delete Api Key
      operationId: delete_api_key_v0_api_keys__key_id__delete
      parameters:
      - name: key_id
        in: path
        required: true
        schema:
          type: string
          title: Key Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ApiKeyListItem:
      properties:
        id:
          type: string
          title: Id
        key_id:
          type: string
          title: Key Id
        key_prefix:
          type: string
          title: Key Prefix
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        roles:
          items:
            type: string
          type: array
          title: Roles
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
        last_used_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Used At
        expires_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Expires At
        revoked_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Revoked At
        source:
          type: string
          enum:
          - okareo
          - frontegg
          title: Source
      type: object
      required:
      - id
      - key_id
      - key_prefix
      - description
      - created_at
      - last_used_at
      - expires_at
      - revoked_at
      - source
      title: ApiKeyListItem
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    MintedClaims:
      properties:
        sub:
          type: string
          title: Sub
        email:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        tenantId:
          type: string
          title: Tenantid
        tenantIds:
          items:
            type: string
          type: array
          title: Tenantids
        roles:
          items:
            type: string
          type: array
          title: Roles
        type:
          type: string
          const: sessionToken
          title: Type
          default: sessionToken
        aud:
          type: string
          title: Aud
        iss:
          type: string
          title: Iss
        sessionExpiresAt:
          anyOf:
          - type: integer
          - type: 'null'
          title: Sessionexpiresat
      type: object
      required:
      - sub
      - tenantId
      - tenantIds
      - aud
      - iss
      title: MintedClaims
    CreateApiKeyResponse:
      properties:
        id:
          type: string
          title: Id
        key:
          type: string
          title: Key
        key_prefix:
          type: string
          title: Key Prefix
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        created_at:
          type: string
          title: Created At
        expires_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Expires At
        source:
          type: string
          const: okareo
          title: Source
      type: object
      required:
      - id
      - key
      - key_prefix
      - description
      - created_at
      - expires_at
      - source
      title: CreateApiKeyResponse
    TokenExchangeResponse:
      properties:
        token:
          type: string
          title: Token
        claims:
          $ref: '#/components/schemas/MintedClaims'
      type: object
      required:
      - token
      - claims
      title: TokenExchangeResponse
    CreateApiKeyPayload:
      properties:
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        expires_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Expires At
      type: object
      title: CreateApiKeyPayload