Skip to content

Get Admin Profile

Read the profile of the currently authenticated admin.

Operation

OperationTypePurpose
readAdminProfileQueryReturn the authenticated admin's profile

Details

  • Requires a valid admin Bearer token in the Authorization header.
  • Returns the admin's id, name, email, image, status, and role (roleId / roleName).
  • An unauthenticated request returns a GraphQL error and null data.

Examples

Use the interactive example on the right to run the query.

Released under the MIT License.