email

Get Auth Url

Generate Google OAuth URL for Gmail connection.

Home location is a prerequisite: trip assembly needs it to bracket imported bookings into trips, so users can't start the connect flow without it (docs/HOME_LOCATION_ONBOARDING.md §7). This endpoint is the single OAuth-URL mint point for web and mobile, which makes it the one backend choke point for the gate.

get/email/auth/url

Query parameters

return_tostring nullable
platformstring nullable

Client platform: 'mobile' for app deep-link redirect, omit for web

Client platform: 'mobile' for app deep-link redirect, omit for web

Response

Successful Response

auth_urlstring required

Changes

No recorded changes to this endpoint across all 1 revision of this API.