Exchange a checkout magic link for a new account session

Create the traveler's account from their guest checkout session and sign them in. The one-time token comes from the magic link emailed during guest checkout. Re-posting the token after a successful exchange returns the already-created signed-in state without creating a second account. When the selection hold lapsed before the exchange, the account is still created and session.selectionExpired is true.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Body for the magic-link account-creation exchange.

string
required
length between 1 and 512

Raw one-time token carried by the emailed magic link.

Responses

410

Magic link is invalid, has expired, or is spent — including when the traveler's email could not be claimed for the new account, which no retry can change

502

Provider rejected the account creation

503

Account creation is not configured or unavailable

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json