Register New User

This API registers a new user of the client on the Metasky server

Register new user

post

Register a new user through email or mobile number

Authorizations
Body
contactstringOptionalExample: raider@metasky.ai
contact_modestring · enumOptionalExample: emailPossible values:
Responses
200
User registered successfully
application/json
post
POST /api/v1/user HTTP/1.1
Host: www.developer.metasky.me
api_key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "contact": "raider@metasky.ai",
  "contact_mode": "email"
}
{
  "message": "User registered successfully",
  "status": "success",
  "request_id": "7e0c3676-82c9-43dc-8678-61bc4aa7c72c",
  "data": {
    "user_uuid": "ee01598e-adcf-41ba-8e65-f3a6c35c37ae",
    "email": "raider@metasky.ai",
    "mobile": "",
    "wallets": [
      {
        "wallet_uuid": "3bb004be-2086-4db5-812f-00531ca75ee3",
        "is_enabled": true,
        "accounts": [
          {
            "account_uuid": "c4675b6d-bfc2-4509-94c2-d799d1f4b0c2",
            "public_address": "0xD0A34eFa38E1dDF6BE88e012D115F35Ecd19b523",
            "wallet_uuid": "3bb004be-2086-4db5-812f-00531ca75ee3",
            "network": {
              "type": "EVM",
              "name": "ETHEREUM",
              "chain_id": 1
            }
          },
          {
            "account_uuid": "2570bc85-a61f-485e-9381-b32ae8f8745b",
            "public_address": "",
            "wallet_uuid": "3bb004be-2086-4db5-812f-00531ca75ee3",
            "network": {
              "type": "FIAT",
              "name": "INR",
              "chain_id": 1
            }
          }
        ]
      }
    ]
  }
}

Last updated

Was this helpful?