---
title: "Get current authentication"
method: GET
path: "/v1/auth"
tags: ["Auth"]
---

# Get current authentication

`GET /v1/auth`

## Request

- Base URL: `https://identity-api.paymongo.com`
- URL: `https://identity-api.paymongo.com/v1/auth`
- Auth: HTTP bearer

Returns the current authenticated user's info

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` AuthGetAuthenticationResponseDTO
    - `attributes` AuthGetAuthenticationAttributesDTO
      - `email` string
      - `email_confirmed` boolean
      - `expiry_timer` integer
      - `login_mfa` boolean
      - `login_notification` boolean
      - `organization_id` string
      - `permissions` object: Permissions is the full permission catalog keyed as "module.action", true where a role the caller holds grants it, false otherwise.
      - `roles` AuthRoleWithPermissionsDTO[]
        - `name` string
        - `permissions` object
      - `user_contact_number` string
      - `user_first_name` string
      - `user_id` string
      - `user_last_name` string
    - `id` string
    - `type` string
  - `has_more` boolean

## Other responses

- `401`: Unauthorized
- `500`: Internal Server Error

---

[API](https://skmtc.dev/paymongo/apis/identity.md) - [All operations](https://skmtc.dev/paymongo/apis/identity/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/identity/revisions/cc3056164874?raw)
