This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
User ID
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/user/{id} \
  --header 'Authorization: Bearer <token>'{
  "fullName": "user2 Royalti",
  "phone": "+1234567890",
  "country": "Nigeria",
  "message": "Welcome to Royalti!",
  "sendEmail": true,
  "redirect_url": "https://app.royalti.io/welcome",
  "id": "b56fe67e-d1b9-4a04-9a13-c0a53be8da49",
  "firstName": "user2",
  "lastName": "Royalti",
  "email": "user2@royalti.io",
  "ipi": "1234567890",
  "externalId": "123",
  "TenantUser": {
    "TenantId": 2,
    "nickName": "iEmmanuel104",
    "userType": [
      "Artist"
    ]
  }
}/user/
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/user/{id} \
  --header 'Authorization: Bearer <token>'{
  "fullName": "user2 Royalti",
  "phone": "+1234567890",
  "country": "Nigeria",
  "message": "Welcome to Royalti!",
  "sendEmail": true,
  "redirect_url": "https://app.royalti.io/welcome",
  "id": "b56fe67e-d1b9-4a04-9a13-c0a53be8da49",
  "firstName": "user2",
  "lastName": "Royalti",
  "email": "user2@royalti.io",
  "ipi": "1234567890",
  "externalId": "123",
  "TenantUser": {
    "TenantId": 2,
    "nickName": "iEmmanuel104",
    "userType": [
      "Artist"
    ]
  }
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/user/example-id', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
User ID