v2

latestSwagger 2.0Apache 2.02026-08-01341727.5 KB

post/salesforce/callback

Request body

codestring required

authorization code provided by salesforce, to fetch access token

isSandboxboolean

defines if the salesforce domain belongs to a sandbox, if not present, it is considered a production domain

organizationUUIDstring

if the action is performed by an user of a privileged org, this is the target organization to add the account

statestring

signed OAuth state echoed back from the Salesforce redirect; when present, the backend derives the environment from its claims instead of the isSandbox flag

Response

unexpected error

codeinteger
error_codestring

Stable machine-readable error code (e.g., EMAIL_NOT_VERIFIED). Optional; populated by endpoints that distinguish multiple error states behind one HTTP status.

messagestring