Skip to main content
GET
/
admin
Get Current Admin
curl --request GET \
  --url https://www.api.baselink.tech/admin \
  --header 'bearer: <api-key>'
{
  "admin": {},
  "admin.id": "<string>",
  "admin.userEmail": "<string>",
  "admin.userSub": "<string>",
  "admin.createdAt": "<string>",
  "admin.updatedAt": "<string>",
  "permissions": [
    {}
  ]
}
Retrieve information about the currently authenticated admin user.
admin
object
The current 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.
permissions
array
Array of permissions granted to the current admin user.