Skip to main content
POST
Create an authorization code with PKCE
JSON PKCE authorize used by the SDK and sandbox walkthrough. This is the partner-backend flow. code_challenge_method must be S256. The code expires in about five minutes and is single-use. See authentication and the request walkthrough.

Body

application/json
response_type
enum<string>
required
Available options:
code
client_id
string
required
redirect_uri
string<uri>
required
code_challenge
string
required
Required string length: 43 - 128
code_challenge_method
enum<string>
required
Available options:
S256
customer_id
string
required
scope
string
required
Example:

"connections:write consent:write events:write profile:read"

state
string
Maximum string length: 512

Response

Authorization code issued.

code
string
required
redirect_uri
string<uri>
required
expires_in
integer
required
state
string