POST
/
smart-accounts
/
verify-otp
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>"
}

Authorizations

Authorization
string
header
required

API Key for authentication

Headers

X-Grid-Environment
string
required

The environment you’re using. Can be sandbox or production.

Body

application/json

Response

200
application/json

Successfully verified OTP

The response is of type object.