cURL
curl --request POST \ --url https://api.klavis.ai/mcp-server/instance/set-auth \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "instanceId": "<string>", "authData": { "token": "<string>", "api_key": "<string>" } } '
{ "success": true, "message": "<string>" }
Sets authentication data for a specific integration instance. Accepts either API key authentication or general authentication data. This updates the auth_metadata for the specified integration instance.
Your Klavis AI API key.
The unique identifier for the connection instance
Authentication data
Show child attributes
The API key to save (token field)
The API key to save (api_key field)
Successful Response