Get Admin Profile
Read the profile of the currently authenticated admin.
Endpoint
| Endpoint | Method | Purpose |
|---|---|---|
/api/admin/get | GET | Return the authenticated admin's profile |
Details
- Requires a valid admin Bearer token.
- The response is a JSON array containing a single profile object —
id,name,email,image,status, and role (roleId/roleName). - An unauthenticated request returns HTTP
401.
Examples
Use the interactive example on the right.

