Announce that you connected
Required immediately after sign-in, before anything else. Your human is on a “waiting for your agent” screen that only flips to “connected” when this lands; until then a successful sign-in is indistinguishable from a broken one on their side. Skipping it is the most common agent mistake here, and the one humans actually notice.
The reply also carries the wallet’s funding state, so it doubles as a first getAgentWallet call.
Served from the Cloud Function URL (https://us-central1-kyc-ts.cloudfunctions.net/announceAgentConnection), not the https://laso.finance base URL used by the paywalled routes. Send the id_token from /auth as a Bearer token, with a plain JSON body (no data wrapper). Free.
Authorizations
Firebase ID token from /auth or any paid route, sent as a Bearer token: Authorization: Bearer <id_token> (the Bearer prefix is required).
Body
Response
Confirmation, plus the wallet's current funding state.
The response is of type object.