---
title: "Get a user in an organization (internal)"
method: GET
path: "/v1/users/in_organization"
tags: ["Internal"]
---

# Get a user in an organization (internal)

`GET /v1/users/in_organization`

## Request

- Base URL: `https://identity-api.paymongo.com`
- URL: `https://identity-api.paymongo.com/v1/users/in_organization`
- Auth: API key in header `X-Internal-Api-Key`

Returns the user resolved from organization_id (account owner), (organization_id, email), or (organization_id, user_id) (org-scoped lookup). Restricted to trusted internal origins.

## Query parameters

- `organization_id` string, required
- `email` string
- `user_id` string

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` object
    - `attributes` UserGetUserByOrganizationAttributesDTO
      - `accelerator_program_code` string
      - `contact_number` string
      - `core_organization_id` string
      - `department` string
      - `email` string
      - `email_confirmed` boolean
      - `first_name` string
      - `former_team_member` boolean
      - `last_name` string
      - `login_mfa` boolean
      - `login_mfa_disabled_at` integer
      - `login_notification` boolean
      - `roles` string[]
    - `id` string
    - `type` string
  - `has_more` boolean

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `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)
