# Field access

> See which Worker, User, and Compensation fields your API token can return.

## Overview

People with the same scopes can receive different fields from the API.

A field is included only when both of these are true:

1.  Your token includes the scopes listed for that field.
2.  You can view that field for the employees in the response.

Your token uses your access. It can also return other fields you already have permission to view under the selected scopes.

* * *

## Requirements

-   The Rippling API SKU
-   An API token created by someone who can view the fields you need. To let someone else create that token, give them **Create and manage API tokens**, plus view access to the required fields for the intended employees.
-   The scopes in the tables below, selected on that token

* * *

## Access rules

### Admin

Admin means Super Admin or Full Admin. With the required scopes, those profiles can read every listed field, including sensitive ones. Any other admin profile can read only the fields its permissions include.

### Other users

This column is access to **other employees' data**, for the employees that profile covers. The person can read a field when either of these is true:

-   The company's **Default access to employee data** includes it.
-   A permission profile grants it.

Each company sets its own defaults, so this list is not the same at every company. Access to your own record can differ. If someone has more than one profile, a restrictive profile does not remove access that another profile grants.

### Classification

Labels such as Employment / Basic and Personal / Sensitive are the categories Rippling uses for employee data.

> **Note:**
> Non-sensitive does not mean the field is available to everyone.

An assignment field such as `department` can appear when the expanded department record does not. The expanded record has its own scope.

### Look up one person

Open the Permissions app and review that person's combined **Data access** and employee scope, including **Default access to employee data**. For how profiles and tokens work together, see [API tokens and permissions](https://developer.rippling.com/documentation/rest-api/essentials/api-tokens) and [Introduction to permissions](https://help.rippling.com/article?articleId=360054482954).

* * *

> **Note:**
> The tables below cover the fields you most often need. For the full field list, see the [Worker](https://developer.rippling.com/documentation/rest-api/reference/schemas/worker), [User](https://developer.rippling.com/documentation/rest-api/reference/schemas/user), and [Compensation](https://developer.rippling.com/documentation/rest-api/reference/schemas/compensation) schemas.

## Worker fields

These fields require `workers.read` on [GET List workers](https://developer.rippling.com/documentation/rest-api/reference/list-workers) and [GET Retrieve a specific worker](https://developer.rippling.com/documentation/rest-api/reference/get-workers).

| Fields | Classification | Admin | Other users |
| --- | --- | --- | --- |
| `manager`, `start_date`, `work_email`, `location`, `department`, `title`, `title_effective_date` | Employment / Basic | Yes | If included in company default access or separately granted. |
| `end_date`, `number`, `employment_type`, `overtime_exemption`, `teams`, `level` | Employment / Non-sensitive | Yes | If granted through a profile or company default access. |
| `termination_details` — termination type and reason | Employment / Sensitive | Yes | Requires the applicable termination-data permission. |
| `personal_email`, `gender`, `date_of_birth`, `race`, `citizenship` | Personal / Non-sensitive | Yes | If granted through a profile or company default access. |
| `ethnicity` | Personal / Sensitive | Yes | Requires sensitive personal-data or field-specific access. |

* * *

## Compensation fields

These fields require `compensations.read` on [GET List compensations](https://developer.rippling.com/documentation/rest-api/reference/list-compensations) and [GET Retrieve a specific compensation](https://developer.rippling.com/documentation/rest-api/reference/get-compensations).

Selecting `compensations.read` does not grant salary access by itself. You also need view access to the relevant compensation fields for those employees. Currency amounts include `currency_type` and `value` under the same access conditions.

| Fields | Classification | Admin | Other users |
| --- | --- | --- | --- |
| `annual_compensation`, `hourly_wage`, `monthly_compensation`, `on_target_commission`, `relocation_reimbursement`, `signing_bonus`, `target_annual_bonus`, `target_annual_bonus_percent`, `bonus_schedule`, `payment_type`, `payment_terms` | Employment / Sensitive | Yes | Requires view access to the relevant compensation fields for those employees. |

* * *

## User fields

These fields require `users.read` on [GET List users](https://developer.rippling.com/documentation/rest-api/reference/list-users) and [GET Retrieve a specific user](https://developer.rippling.com/documentation/rest-api/reference/get-users). When you retrieve them through Worker, also select `workers.read` and request `expand=user`.

| Fields | Classification | Admin | Other users |
| --- | --- | --- | --- |
| `user.display_name`, `user.name.preferred_given_name`, `user.name.preferred_family_name`, `user.timezone` | Personal / Basic | Yes | If included in default access or separately granted. The parent User and name fields have their own access checks. |
| `user.name.formatted`, `user.name.given_name`, `user.name.middle_name`, `user.name.family_name`, `user.preferred_language`, `user.locale` | Personal / Non-sensitive | Yes | Requires access to the relevant personal fields. |
| Personal-phone content in `user.phone_numbers[]`; home-address content in `user.addresses[]` | Personal / Non-sensitive | Yes | Requires access to the relevant phone or address data. |
| `user.number` | Employment / Basic | Yes | If included in default access or separately granted. |
| `user.emails[]` | Depends on whether the entry is a home or work email | Yes | Requires the relevant personal-email or work-email access. |

* * *

## Additional scopes

These Worker fields need `workers.read` plus the additional scope below. Select that scope on your token. Super Admin and Full Admin access still requires it. `workers.read` alone does not return these fields.

| Fields | Classification | Additional scope | Other users |
| --- | --- | --- | --- |
| `pay_schedule_id` | Employment / Sensitive | `workers.pay-schedule.read` | Requires pay-schedule view access. |
| `original_start_date` | Employment / Sensitive | `workers.original-start-date.read` | Requires original-start-date view access. |
| `country_fields.us.ssn`  <br>`country_fields.ca.sin`  <br>`country_fields.nz.ird_number` | Personal / Sensitive | `workers.sensitive.personal.read` | Requires the applicable country-specific identifier permission. |
| `custom_fields` | Set for each company-specific field | `workers.custom-fields.read` | Requires access to each custom field. Request `expand=custom_fields`. |

Use `custom-fields.read` to list custom field definitions. To read values on a worker, use `workers.custom-fields.read` and `expand=custom_fields`. See [Custom fields](https://developer.rippling.com/documentation/rest-api/guides/custom-fields-api).

* * *

## Expand related objects

`user`, `manager`, `legal_entity`, `employment_type`, `compensation`, `department`, `teams`, `level`, and `business_partners` contain fields with their own access checks. Compensation can also expand `worker`. Admins have broad data access. Other users see only the permitted contents.

> **Note:**
> A populated ID can still come back with a null object. That happens when you have not expanded the object, your token is missing that resource's scope, or you cannot view the fields inside it.

Expansion limits are in [Query parameters](https://developer.rippling.com/documentation/rest-api/essentials/query-parameters).

| Expansion | Additional resource scope |
| --- | --- |
| `user` | `users.read` |
| `compensation` | `compensations.read` |
| `legal_entity` | `legal-entities.read` |
| `employment_type` | `employment-types.read` |
| `department` | `departments.read` |
| `teams` | `teams.read` |
| `level` | `levels.read` |
| `business_partners` | `business-partners.read` |
| `manager`; Compensation's `worker` | `workers.read` |

* * *

## Redacted fields

If you cannot view a field, list and retrieve responses name it in `__meta.redacted_fields` and omit or null the value. [Worker changes](https://developer.rippling.com/documentation/rest-api/guides/worker-changes) uses the same rule: the event is still returned, and the value is hidden (`display_type: REDACTED` or `null`).

_Request:_

```bash
curl -L -X GET 'https://rest.ripplingapis.com/workers/?expand=user' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer REDACTED' \
-H 'Rippling-Api-Version: 2024-08-01'
```

_Response:_

```json
{
  "__meta": {
    "redacted_fields": [
      {
        "name": "date_of_birth",
        "reason": "Insufficient entitlements"
      }
    ]
  },
  "results": [
    {
      "id": "65699281fb7bc7c3510f44a6",
      "work_email": "alex.chen@example.com",
      "title": "Account Executive",
      "department_id": "65699295fb7bc7c3510f4075",
      "department": null,
      "user_id": "65699281fb7bc7c3510f44a0",
      "user": {
        "id": "65699281fb7bc7c3510f44a0",
        "display_name": "Alex Chen"
      }
    }
  ]
}
```

-   `work_email` and `title` are present because you can view those employment fields and your token has `workers.read`.
-   `date_of_birth` is withheld because that personal field is outside your access.
-   `department_id` can be present while `department` is null until you expand it and your token includes `departments.read`.
-   `user` is populated because the request uses `expand=user` and your token includes `users.read`.

* * *

## See also

-   [Get started with the HRIS API](https://developer.rippling.com/documentation/rest-api/guides/hris-getting-started)
-   [API tokens and permissions](https://developer.rippling.com/documentation/rest-api/essentials/api-tokens)
-   [API scopes](https://developer.rippling.com/documentation/rest-api/essentials/permissions)
-   [Query parameters](https://developer.rippling.com/documentation/rest-api/essentials/query-parameters)
-   [Custom fields](https://developer.rippling.com/documentation/rest-api/guides/custom-fields-api)
-   [View worker changes](https://developer.rippling.com/documentation/rest-api/guides/worker-changes)
-   [Introduction to permissions](https://help.rippling.com/article?articleId=360054482954)
-   [Create and assign a permission profile](https://help.rippling.com/article?articleId=360054482094)

Source: https://developer.rippling.com/documentation/rest-api/guides/worker-field-access

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
