Attach an anonymous account to a Google identity

Two factors are required: the claim_token in the path AND the MSISDN of an eSIM on that account. On success a browser session cookie is set and merge_mode reports how the account was resolved (promote | absorb-empty | reverse-merge).

post/api/v1/claim/{token}/google

Request

  • Base URL: https://roamzy.io
  • URL: https://roamzy.io/api/v1/claim/{token}/google
  • Auth: none declared

Path parameters

tokenstring required

Request body

id_tokenstring required

Google ID token, verified server-side

msisdnstring required

Second factor — the eSIM phone number

Example request

{
  "msisdn": "2040400002"
}

Response

Claimed — { ok, user_id, provider, merge_mode, next }

Changes

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