Account
Account

Sign-in by email — step B, first half: see what you consent to

Called from the device logged in WITH THE EXECUTOR'S WALLET, after the person typed the code. Returns the masked email the code pairs and the exact consent to sign — show the email to the person before asking the wallet: the code alone does not say whose email it is. Changes nothing and spends no attempt on the code.

post/api/v1/account/login-email/preview

Request

  • Base URL: https://api.execution.market
  • URL: https://api.execution.market/api/v1/account/login-email/preview
  • Auth: API key in header Signature-Input

Headers

authorizationstring nullable

Bearer <supabase_jwt>

Request body

codestring required

The code shown on the email session (case, spaces and dashes are ignored)

executor_idstring nullable

An executor bound to this session. Omitted: the one the session resolves to.

Response

Successful Response

email_hintstring required

The masked email the code pairs (e.g. o***@e***.com)

expires_atstring required

When the code expires (ISO8601 UTC)

executor_idstring required
wallet_addressstring required

The wallet that must sign (lowercase)

messagestring required

The exact consent to sign with wallet_address and send to /login-email/confirm, stamped now (valid for 10 minutes).

Changes

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