Klavis AI Teams OAUTH API
The teams-oauth API from Klavis AI — 2 operation(s) for teams-oauth.
The teams-oauth API from Klavis AI — 2 operation(s) for teams-oauth.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/klavis:klavis-teams-oauth-api"
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.
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: 3.2.0
info:
title: Klavis AI (https://www.klavis.ai) Teams OAUTH API
description: Klavis AI - Open Source MCP Integrations for AI Applications
version: 0.1.0
servers:
- url: https://api.klavis.ai
description: US Production server
- url: https://api.eu.klavis.ai
description: EU Production server
tags:
- name: teams-oauth
paths:
/oauth/teams/authorize:
get:
tags:
- teams-oauth
summary: Authorize Teams
operationId: authorizeTeams
parameters:
- name: instance_id
in: query
required: true
schema:
type: string
description: Unique identifier for the client instance requesting authorization
title: Instance Id
description: Unique identifier for the client instance requesting authorization
- name: client_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Client ID for white labeling, if not provided will use default credentials
title: Client Id
description: Client ID for white labeling, if not provided will use default credentials
- name: scope
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional OAuth scopes to request (space-separated string)
title: Scope
description: Optional OAuth scopes to request (space-separated string)
- name: redirect_url
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional URL to redirect to after authorization completes
title: Redirect Url
description: Optional URL to redirect to after authorization completes
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/oauth/teams/refresh_token:
post:
tags:
- teams-oauth
summary: Refresh Token
operationId: refresh_token_oauth_teams_refresh_token_post
parameters:
- name: instance_id
in: query
required: true
schema:
type: string
description: Instance ID for which to refresh the token
title: Instance Id
description: Instance ID for which to refresh the token
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AzureADOAuthSuccessResponse'
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/AzureADOAuthErrorResponse'
description: Bad Request
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
AzureADOAuthSuccessResponse:
properties:
status:
type: string
title: Status
description: Status of the OAuth process
default: success
message:
type: string
title: Message
description: Success message
data:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Data
description: Additional data related to the response
type: object
required:
- message
title: AzureADOAuthSuccessResponse
AzureADOAuthErrorResponse:
properties:
error:
type: string
title: Error
description: Error message from the OAuth process
message:
anyOf:
- type: string
- type: 'null'
title: Message
description: Additional error message
type: object
required:
- error
title: AzureADOAuthErrorResponse
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
securitySchemes:
HTTPBearer:
type: http
description: Your Klavis AI API key.
scheme: bearer
x-fern-bearer:
name: api_key