Sign-up with passkey 2/2
Complete signup (v1.2) — 5 modes.
Request body:
credential(object, required for passkeys mode or withWallet=safe): WebAuthn credential fromnavigator.credentials.create()wallet(string, optional):passkeys(default),kdf,email,7702,smsexternalUserId(string, required forwallet=kdf,wallet=email, andwallet=sms): ExternalUserId from GET /sign-upemailOtp(string, required forwallet=email): 6-digit OTP received by emailtelephone(string, required forwallet=sms): E.164 phone numbercode(string, required forwallet=sms): OTP code received by SMSemail(string, required forwallet=smsKYB mode): Contact emailcompanyRegistrationNumber(string, triggers KYB forwallet=sms): SIREN 9 digitschainIds(array, optional): Chain IDs for multi-chain Safe deploymentchainId(number, optional): Single chain ID (alternative to chainIds)keyName,keyDisplayName(string, optional): Passkey metadataincludeBalance,includeTransactions,includeUserdata(boolean, optional): Include data in response
withWallet parameter (wallet=email and wallet=sms):
When using wallet=email or wallet=sms, the withWallet query parameter on GET determines what wallet is created after OTP verification:
none(default): KY enrollment only, no crypto walletsafe: Passkey WebAuthn → Safe deployed (requirescredentialin POST body)7702: EIP-7702 delegation (requiresaddress,signature,noncein POST body)kdf: PIN/passphrase derived key (requirespublicKey,signature,challenge,nonce,timestamp,serverSignaturein POST body)
Response:
- Returns JWT tokens (
access_token,refresh_token) - Includes
safeAddressif wallet created (Safe deployed or 7702)
Request Body
application/jsonOptionalwalletstring"passkeys" | "kdf" | "email" | "emailotp" | "emailsmsotp" | "7702" | "sms" | "smsotp"credentialobjectexternalUserIdstringtelephonestringE.164 phone number (required for wallet=sms and wallet=emailsmsotp)
codestringOTP code received by SMS or email (required for wallet=sms, wallet=emailotp, wallet=emailsmsotp)
smsCodestringSMS OTP code (required for wallet=emailsmsotp when SMS not already verified)
emailstringEmail address (required for wallet=emailotp and wallet=emailsmsotp; contact email for wallet=sms KYB mode)
companyRegistrationNumberstringSIREN 9 digits (triggers KYB mode for wallet=sms)
phonePolicystringPhone validation policy for wallet=sms
"frMobile" | "any"chainIdsarray<number>chainIdnumberkeyNamestringkeyDisplayNamestringincludeBalancebooleanincludeTransactionsbooleanincludeUserdatabooleanpublicKeystringsignaturestringchallengestringchallengeExpiresAtstringnoncestringtimestampnumberserverSignaturestringserverKeyIdstringemailOtpstring6-digit OTP received by email (required for wallet=email)
journeyIdintegerJourney ID when tenant has multiple active journeys (wallet=emailotp, wallet=sms KY flows)
enrollSmsInWizardbooleanWhen true (or set on GET session), KYB wallet=sms skips API SMS confirm and opens enroll wizard with in-wizard SMS TOTP
languagestringUI language code forwarded to KY enrollment
dataobjectUserdata forwarded to KY enrollment
addressstringEOA address (required for wallet=7702)
provisioningobjectOptional advanced provisioning (passkeys mode only). If omitted, signup behavior remains unchanged.
Default Response