Skip to main content
POST
/
v1
/
customer
/
auth
/
logins
Handle OAuth login
curl --request POST \
  --url https://api.example.com/v1/customer/auth/logins \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "<string>",
  "redirect_uri": "<string>",
  "email": "jsmith@example.com",
  "password": "<string>",
  "scope": "<string>",
  "state": "<string>",
  "code_challenge": "<string>",
  "code_challenge_method": "<string>",
  "mcp_subdomain": "<string>"
}
'
{
  "redirectUrl": "<string>"
}

Body

application/json
client_id
string
required
Minimum string length: 1
redirect_uri
string
required
Minimum string length: 1
email
string<email>
required
password
string
required
Minimum string length: 1
scope
string
state
string
code_challenge
string
code_challenge_method
string
mcp_subdomain
string

Response

Login successful, returns redirect URL with auth code

redirectUrl
string