Umbra Client Credentials API

The Client Credentials API from Umbra — 1 operation(s) for client credentials.

Operations 4

GET /m2m/token Get Token #
PUT /m2m/token Rotate Token #
POST /m2m/token Create Token #
DELETE /m2m/token Delete Token #

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/umbra-client-credentials-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

umbra-client-credentials-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Admin Client Credentials API
  description: Canopy Admin API for M2M Token Management
  version: 3.1.0
servers:
- url: https://api.canopy.umbra.space/admin
security:
- bearerAuth: []
tags:
- name: Client Credentials
paths:
  /m2m/token:
    get:
      tags:
      - Client Credentials
      summary: Get Token
      description: Retrieve the M2M client_id and client_secret for your Organization
      operationId: get_token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/M2MTokenResponse'
        '404':
          description: No M2M Application found. Send a POST to create one first.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Client Credentials
      summary: Rotate Token
      description: Rotate the M2M client_id and client_secret for your Organization
      operationId: rotate_token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/M2MTokenResponse'
        '404':
          description: No M2M Application found. Send a POST to create one first.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Client Credentials
      summary: Create Token
      description: Create the M2M Application for your Organization
      operationId: create_token
      responses:
        '200':
          description: M2M token already exists. Returning existing token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/M2MTokenResponse'
        '201':
          description: New M2M Application created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/M2MTokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Client Credentials
      summary: Delete Token
      description: Delete the M2M Application for your Organization
      operationId: delete_token
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    M2MTokenResponse:
      properties:
        client_id:
          type: string
          title: Client Id
        client_secret:
          type: string
          title: Client Secret
        audiences:
          items:
            type: string
          type: array
          title: Audiences
      type: object
      required:
      - client_id
      - client_secret
      - audiences
      title: M2MTokenResponse
    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
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT