Simulated Referral OAuth Codes
Simulate your user completing the Referral OAuth flow. The code returned can be exchanged using POST /oauth/tokens for an access token. The access token can be used in Sandbox to make API calls as if a brand-new user registered. In production, the code is returned to your website via the callback URL.
The Simulated Referral OAuth Code object
Attributes
code
string
The OAuth code to be exchanged for an access token.
Sandbox: Simulate the Referral OAuth flow
This endpoint simulates the Referral OAuth flow. Invoke it with your application’s client ID to receive a code that can be exchanged for an access token.
Parameters
client_id
string
Required
The Client ID of your OAuth application.