Skip to main content
GET
/
user-data
/
getByUserSub
/
:userSub
Get User by Sub
curl --request GET \
  --url https://www.api.baselink.tech/user-data/getByUserSub/:userSub \
  --header 'bearer: <api-key>'
{
  "user": {},
  "user.id": "<string>",
  "user.userName": "<string>",
  "user.gitname": "<string>",
  "user.userEmail": "<string>",
  "user.userSub": "<string>",
  "user.userConfig": {},
  "user.profilePicture": "<string>",
  "user.bio": "<string>",
  "user.createdAt": "<string>"
}
Retrieve user information by their authentication sub identifier.
user
object
The user object.
user.id
string
The unique identifier of the user.
user.userName
string
The display name of the user.
user.gitname
string
The GitHub username of the user.
user.userEmail
string
The email address of the user.
user.userSub
string
The user sub identifier.
user.userConfig
object
User configuration settings.
user.profilePicture
string
URL of the userโ€™s profile picture.
user.bio
string
Userโ€™s bio/description.
user.createdAt
string
The creation timestamp of the user.