Auth

Consume a funnel session handoff token

Public. Trades the token from the funnel URL for a Firebase custom token plus the funnel context needed to resume (step and answers). Valid for 15 minutes and at most 3 uses.

post/v1/auth/session-handoff/consume

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/v1/auth/session-handoff/consume
  • Auth
    HTTP bearer

Request body

tokenstring required

Handoff token lifted from the funnel URL

Response

firebaseCustomTokenstring required
firebaseUidstring required
funnelIdstring required
stepIdstring required
sessionIdstring nullable required
leadIdstring nullable required
answersobject required

Funnel answers snapshot

isAccountLinkedboolean required
emailstring nullable required

Changes

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