---
updatedAt: 2026-08-25T23:06:23.000Z
agentTools:
  projectIndex: https://developer.intellistack.com/llms.txt
---

# Salesforce OAuth callback

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "CallbackRequest": {
        "properties": {
          "code": {
            "type": "string"
          },
          "codeVerifier": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "errorDetails": {
            "type": "string"
          },
          "redirectUri": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "Integrations",
    "version": "0.1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/integrations/datasources/salesforce/callback": {
      "post": {
        "operationId": "authCallback",
        "parameters": [
          {
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "code",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "error",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "error_details",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "redirect_uri",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CallbackRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create integrations",
        "tags": [
          "Salesforce Auth Controller"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "US Production Server",
      "url": "https://api-us.streamline.intellistack.ai"
    },
    {
      "description": "Canada Production Server",
      "url": "https://api-ca.streamline.intellistack.ai"
    }
  ]
}
```