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

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 authenticated suborg

The response is of type object.