cURL
curl --request POST \ --url https://grid.squads.xyz/api/v0/grid/smart-accounts/verify-otp \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Grid-Environment: <x-grid-environment>' \ --data ' { "auth_public_key": "<string>", "expiration": 1, "mpc_primary_id": "<string>", "otp_code": "<string>", "otp_id": "<string>" } '
{ "credential_bundle": "<string>", "account_info": { "mpc_primary_id": "<string>", "grid_user_id": "<string>", "smart_account_address": "<string>", "smart_account_signer_public_key": "<string>", "wallet_id": "<string>" } }
API Key for authentication
The environment you’re using. Can be sandbox or production.
sandbox
production
x >= 0
Successfully verified OTP
Show child attributes
Was this page helpful?