post
https://production-api.shoutaboutus.com/api/v1/google/connection-event
Record a browser-side step of the Google Business Profile connection funnel (sign-in clicked, consent denied, callback error, locations listed) for connection reporting. Fire-and-forget: The endpoint accepts only client-reportable funnel events — connection state changes (connected/disconnected) are recorded server-side only and cannot be fabricated here.
Auth
- Auth-optional. Bearer token OR an invite
hashOR the public connect-pagecompany_id_hashORsource=registration(anonymous signup wizard).
Rate limit
- 30 requests/min per IP (public).
Body
| Field | Type | Required | Notes |
|---|---|---|---|
event | string | Required | One of: oauth.started, oauth.denied, oauth.callback_error, locations.fetched, locations.none_found. |
source | string | Required | One of: invite_link, connect_google_page, registration, settings, debugger. |
store_review_site_id | integer | Optional | Binds the event to a row (must be accessible via hash/token). |
hash | string | Optional | Invite hash [store_id, 15]; grants access without a token. |
company_id_hash | string | Optional | Hashid of the account (public connect page). |
message | string (≤500) | Optional | Error detail returned by Google, if any. |
accounts_count | integer (≥0) | Optional | Accounts listed. |
locations_count | integer (≥0) | Optional | Locations listed. |
Behaviour
- Always 200. Returns
{data:{status:"recorded"}}; on an internal tracking error it swallows the failure and returns{data:{status:"skipped"}}so the SPA is never blocked.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
