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>" }'
{ "account_info": null, "credential_bundle": "<string>" }
API Key for authentication
The environment you’re using. Can be sandbox or production.
sandbox
production
Successfully verified OTP
The response is of type object.
object