Skip to main content
GET
/
oauth
/
salesforce
/
authorize
Authorize Salesforce
curl --request GET \
  --url https://api.klavis.ai/oauth/salesforce/authorize
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Query Parameters

instance_id
string
required

Unique identifier for the client instance requesting authorization

client_id
string | null

Client ID for white labeling, if not provided will use default credentials

scope
string | null

Optional OAuth scopes to request (space-separated string)

redirect_url
string | null

Optional URL to redirect to after authorization completes

instance_url
string | null

Salesforce instance URL (e.g., https://mycompany.salesforce.com). If not provided, will use default login.salesforce.com

Response

Successful Response