GET
/
auth
/
Get logged in users data
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/auth/ \
  --header 'Authorization: Bearer <token>'
{
  "message": "Successful",
  "user": {
    "fullName": "Emmanuel Umukoro",
    "email": "emma221999@gmail.com",
    "lastLogin": null,
    "TenantId": 1,
    "id": "7c5c54e3-b6e0-4b89-b443-928727b9a931",
    "UserId": "f4b4e2f8-fe5e-4076-9e09-3424ff7f185f",
    "nickName": "iEmmanuel104",
    "paymentSettings": {
      "AccountNumber": "1234567890",
      "accountName": "Royalti Account",
      "bank": "AFRICA FINANCE CORPORATION",
      "bankCode": "44444",
      "paypalcurrency": "USD",
      "wirecurrency": "USD",
      "paypalEmail": "royalti@gmail.com",
      "beneficiaryType": "company",
      "bankCountry": "Nigeria"
    },
    "userType": [
      "Artist"
    ],
    "externalId": null,
    "firstName": "Emmanuel",
    "lastName": "Umukoro",
    "profileImg": null,
    "phone": "080628537875",
    "country": "Algeria",
    "ipi": null,
    "role": "admin",
    "isActive": true,
    "signUpForm": {},
    "permissions": null,
    "createdAt": "2023-05-18T14:09:05.008Z",
    "updatedAt": "2024-03-22T11:10:53.519Z",
    "User": {
      "email": "emma221999@gmail.com"
    }
  },
  "workspace": {
    "name": "Royalti Demo",
    "uid": "7bd60554-4f63-4c62-a5f6-c29c3f67cb2a",
    "bigqueryDataset": "royalti_demo"
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Response

200
application/json

Success

The response is of type object.