cURL
curl --request POST \ --url https://grid.squads.xyz/api/v0/grid/smart-accounts/auth \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Grid-Environment: <x-grid-environment>' \ --data '{ "app_icon_url": "<string>", "app_name": "<string>", "email": "<string>", "expiration": 1, "external_id": "<string>" }'
{ "mpc_primary_id": "<string>", "otp_id": "<string>" }
API Key for authentication
The environment you’re using. Can be sandbox or production.
sandbox
production
Successfully authenticated suborg
The response is of type object.
object