Profile Information

Get your profile info

Retrieve details of a user’s portfolio i.e., the profit and loss incurred in the various markets. Please note that this is a Private πŸ”’ rroute which means it needs to be authorized by the account initiating this request.

Note: You will need to include the JWT Auth token to request headers to access this endpoint. To get the JWT Auth Token, refer the login section of the documentation.

Endpoint

GET /sapi/v1/user/profile/

Request Headers

{
  "Authorization": "JWT ***"
}

Example

{baseurl}/sapi/v1/user/profile/

Response

{
  "status": "success",
  "message": "Successful",
  "payload": {
    "name": "USER NAME",
    "customer_id": "27",
    "img": null,
    "username": "guthal",
    "stark_key": "0x70f41ce6797eb444c9dc95a907....8aa592adf8f1fe3ab75317f7096d38"
  }
}

Last updated