> For the complete documentation index, see [llms.txt](https://docs.getpenfold.dev/dev/llms.txt)

# Retrieve a workplace admin

> GET /organisations/{organisation_id}/workplace_admins/{workplace_admin_id}
> 
> **Partner organisations only.** A Payroll organisation calling this
> endpoint receives `405 Method Not Allowed`.
> 
> Retrieves one active workplace admin on this organisation.



## Servers
- https://payroll-api.getpenfold.dev/v4: https://payroll-api.getpenfold.dev/v4


## Authentication methods
- O auth2 client credentials


## Parameters

### Path parameters

- **organisation_id** (string)
  Penfold organisation id.

- **workplace_admin_id** (string)
  Penfold workplace admin id.




## Responses
### 200
Workplace admin retrieved

#### Body: application/json (object)
- **id** (string)
  Penfold workplace admin id.

- **email** (string(email))
  The admin's Penfold email address.

- **first_name** (string)

- **last_name** (string)

- **external_id** (string | null)
  Your identifier for this person: the subject id your identity provider puts
  in its sign-in token. `null` if your organisation does not use single sign-on
  with Penfold.


### 401
Missing or invalid authentication token

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.


### 404
Admin not found on this organisation, admin removed, or organisation not one you manage.

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.


### 405
Method not allowed. Partner organisations only.

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.



[Powered by Bump.sh](https://bump.sh)
