> For the complete documentation index, see [llms.txt](https://docs.getpenfold.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`. An employer-scoped access
> token receives `403 Forbidden`.
> 
> Returns one person who currently has Workplace Platform access to a
> managed organisation, using Penfold’s identifier for them as returned
> when they were registered or listed. The response has the same fields
> as an item in the list of workplace admins.
> 
> Returns `404 Not Found` when the organisation does not exist or is not
> managed by your Partner organisation, when the admin is not registered
> on that organisation, or when the admin’s access has been removed.



## 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)
  Unique identifier for the managed organisation.

- **workplace_admin_id** (string)
  Penfold’s identifier for the workplace admin, as returned when they were registered.




## Responses
### 200
Workplace admin retrieved successfully.

#### Body: application/json (object)
- **id** (string)
  Penfold’s identifier for the workplace admin.

- **email** (string(email))

- **first_name** (string)

- **last_name** (string)

- **external_id** (string)
  Your platform’s identifier for this admin, as supplied when they
  were registered. Omitted when none was supplied, and for Partner
  organisations that do not use single sign-on.


### 401
Unauthorized

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


### 403
Forbidden, the access token is scoped to an employer.

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


### 404
Organisation not found or not managed by your Partner organisation, or workplace admin not registered on that organisation (including admins whose access has been removed).

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


### 405
Method not allowed

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



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