Skip to main content
GET
/
user-auth
/
getByUserSub
Get User Auth by Sub
curl --request GET \
  --url https://www.api.baselink.tech/user-auth/getByUserSub \
  --header 'bearer: <api-key>'
{
  "userAuth": {},
  "userAuth.id": "<string>",
  "userAuth.userSub": "<string>",
  "userAuth.userDataId": "<string>",
  "userAuth.provider": "<string>",
  "userAuth.createdAt": "<string>",
  "userAuth.updatedAt": "<string>"
}
Retrieve user authentication information based on the userโ€™s sub identifier.
userAuth
object
The user authentication object.
userAuth.id
string
The unique identifier of the user auth record.
userAuth.userSub
string
The user sub identifier from authentication.
userAuth.userDataId
string
The associated user data ID.
userAuth.provider
string
The authentication provider (e.g., โ€˜auth0โ€™, โ€˜googleโ€™, etc.).
userAuth.createdAt
string
The creation timestamp of the auth record.
userAuth.updatedAt
string
The last update timestamp of the auth record.
This endpoint requires authentication and retrieves information for the currently authenticated user based on their sub identifier from the authentication token.