Klavis AI Salesforce OAUTH API
The salesforce-oauth API from Klavis AI — 1 operation(s) for salesforce-oauth.
The salesforce-oauth API from Klavis AI — 1 operation(s) for salesforce-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-salesforce-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) Salesforce 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: salesforce-oauth
paths:
/oauth/salesforce/authorize:
get:
tags:
- salesforce-oauth
summary: Authorize Salesforce
description: 'Start Salesforce OAuth flow
Parameters:
- instance_id: Identifier for the instance requesting authorization
- client_id: Optional client ID for white labeling
- scope: Optional scopes to request (space-separated)
- redirect_url: Optional URL to redirect to after authorization completes
- instance_url: Optional Salesforce instance URL for sandbox or custom domains'
operationId: authorizeSalesforce
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
- name: instance_url
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Salesforce instance URL (e.g., https://mycompany.salesforce.com). If not provided, will use default login.salesforce.com
title: Instance Url
description: Salesforce instance URL (e.g., https://mycompany.salesforce.com). If not provided, will use default login.salesforce.com
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'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
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