Skip to content
Developers
Get started
Early access: these pages are being written and reviewed. Facts in the header boxes come straight from the product.

Google sign-in callback

GET
/api/v1/auth/google/callback
curl --request GET \
--url https://api.pitch2sale.com/api/v1/auth/google/callback

Google redirects here. Redirects (302) to the web app: /login?sso=success[&returnUrl=] (refresh cookie set), /login?google_mfa=1[&returnUrl=] (second factor due — the single-use hand-off code is in the httpOnly google_login_mfa cookie, path /api/v1/auth/google, 2 minutes; redeem with POST /auth/google/mfa), /register/google (new account — the pending sign-up token is in the httpOnly google_login_signup cookie, 15 minutes), or /login?error=<code> with google_failed, sso_required, google_account_mismatch, invite_email_mismatch, invite_invalid, invite_pending, account_disabled, org_selection_required. No token ever appears in a URL.

Redirect to the web app

Rate limit exceeded

Media typeapplication/json
object
error
required
string
code
string
message
string
details
Array<object>
object
field
required
string
message
required
string
code
required
string
Examplegenerated
{
"error": "example",
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"message": "example",
"code": "example"
}
]
}