Skip to main content
GET
/
admin
/
:userId
Get Admin by ID
curl --request GET \
  --url https://www.api.baselink.tech/admin/:userId \
  --header 'bearer: <api-key>'
{
  "admin": {},
  "admin.id": "<string>",
  "admin.userEmail": "<string>",
  "admin.userSub": "<string>",
  "admin.createdAt": "<string>",
  "admin.updatedAt": "<string>"
}
Retrieve admin information by user ID. This endpoint is restricted to admin users only.
admin
object
The admin user object.
admin.id
string
The unique identifier of the admin user.
admin.userEmail
string
The email address of the admin user.
admin.userSub
string
The sub identifier of the admin user.
admin.createdAt
string
The creation timestamp of the admin user.
admin.updatedAt
string
The last update timestamp of the admin user.