Skip to main content
POST
/
mcp-server
/
strata
/
set-auth
Set Strata Auth
curl --request POST \
  --url https://api.klavis.ai/mcp-server/strata/set-auth \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "strataId": "<string>",
  "serverName": "Affinity",
  "authData": {
    "token": "<string>",
    "api_key": "<string>"
  }
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Body

application/json
strataId
string
required

The strata server ID

serverName
enum<string>
required

The name of the Klavis MCP server to set authentication for (e.g., 'GitHub', 'Jira')

Available options:
Affinity,
Airtable,
Asana,
Attio,
Box,
Brave Search,
Cal.com,
ClickUp,
Close,
Cloudflare,
Coinbase,
Confluence,
Dialpad,
Discord,
Doc2markdown,
DocuSign,
Dropbox,
ElevenLabs,
Exa,
Fathom,
Figma,
Fireflies,
Firecrawl Deep Research,
Firecrawl Web Search,
Freshdesk,
GitHub,
GitLab,
Gmail,
Gong,
Google Calendar,
Google Docs,
Google Drive,
Google Jobs,
Google Sheets,
Hacker News,
Heygen,
HubSpot,
Jira,
Klaviyo,
Klavis ReportGen,
Linear,
LinkedIn,
Markdown2doc,
Mem0,
Microsoft Teams,
Mixpanel,
Monday,
Moneybird,
Motion,
Notion,
OneDrive,
Openrouter,
Outlook,
PagerDuty,
Pipedrive,
Plai,
Postgres,
PostHog,
QuickBooks,
Resend,
Salesforce,
SendGrid,
Shopify,
Slack,
Stripe,
Supabase,
Tavily,
Vercel,
WhatsApp,
WordPress,
YouTube,
Zendesk,
ServiceNow
authData
object
required

Authentication data

  • Option 1: API Key
  • Option 2: General Auth Data

Response

Successful Response

success
boolean
required
message
string | null
I