
Salesforce API Integration Profile
Information and guides about integrating with Salesforce API
Add Salesforce Integration to Your App- Download An Attachment
- Download Document
Downloads a document content based on document type and ID
- Get Instance Uri
- Registration - Initialize
Submits the registration data to the init/registration endpoint and returns a request identifier. At the same time, an OTP is sent out to the end users via email or sms. Registration data is passed in the request body, and is formatted with JSON, with 5 keys:
userdata
,customdata
,password
,recaptcha
, andverificationmethod
. The first two keys are JSON structures, and the last 3 keys are strings.This request returns JSON, and includes an identifier (request identifier).
- User Agent Flow
User Agent Flow
- Registration - Authorize
After you send your registration data to initialize, this request allows you to process that registration data, and as a part of this request you also verify the users email or sms number. The request itself is a authorization call for the Code and Credential flow. It includes 3 specific headers:
Auth-Request-Type
which is set touser-registration
,Auth-Verification-Type
which is set to email or sms, and an Authorization Basic header, which is the base 64 encoded result ofidentifier:otp
whereidentifier
is the value returned in your initialize registration call, andotp
is the value sent to the end user via email or sms.The response from this API is the Auth Code, which is then exchanged for the Access Token.
- Registration - Token Exchange
This exchanges the auth code returned in the Authorize Request for an access token and refresh token. This follows the standard Auth Code flow/Webserver Code Flow pattern. The Code is the return form the Authorization call.
- Forgot Password - Initialize
Forgot Password - Initialize
- Passwordless Login - Initialize
Submits the passwordless login data to the init/passwordless/login endpoint and returns a request identifier. At the same time, an OTP is sent out to the end users via email or sms. Passwordless login data is passed in the request body, and is formatted with JSON, with 3 keys:
username
,recaptcha
, andverificationmethod
. All 3 keys are strings.This request returns JSON, and includes an identifier (request identifier).
- Get User Info
This requests uses an access token to get user information from Salesforce using the standard
/userinfo
endpoint.