Early access: these pages are being written and reviewed. Facts in the header boxes come straight from the product.
Start Sign in / Sign up with Google
GET
/api/v1/auth/google/start
const url = 'https://api.pitch2sale.com/api/v1/auth/google/start';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.pitch2sale.com/api/v1/auth/google/startBrowser navigation, not an API call. Query: intent (login | signup | invite, default login), invite (the invite token, for intent=invite), org (workspace slug when one Google email has several accounts), next (same-site relative path; anything else is ignored). Redirects (302) to Google with PKCE and binds the attempt to this browser with a short-lived cookie.
Responses
Section titled “Responses”Redirect to Google, or to /login?error=… on bad input
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" } ]}