# Create and manage dimensions and jobs

> Fetch and manage dimensions and job codes in Rippling using the Organizational Data API.

## Overview

Dimensions and job codes in Rippling allow you to track how your employees are spending their time, not just how many hours your employees are working.

_Key terms:_

-   **Dimension**: A dimension is an employee attribute that you want to track (e.g. a dimension called "Task" to track an employee's time spent across multiple jobs).
-   **Job codes**: Within a dimension, job codes help you record the employee’s wages and tax based on if they are paid different hourly rates. For example, within the "Task" dimension, you can create separate jobs such as “Cashier,” “Barista,” or “Chef".
-   **Job assignment**: Associated with each job code can be job assignments/job rosters. Job rosters give you the ability to map your employees to a specific set of jobs. This ensures that employees who are using job codes when clocking in and out of Rippling's Time & Attendance only see the jobs that are applicable to them.

### Available endpoints

| Endpoint | Description |
| --- | --- |
| [GET List job dimensions](https://developer.rippling.com/documentation/rest-api/reference/list-job-dimensions) | Lists dimensions. |
| [POST Create a new job dimension](https://developer.rippling.com/documentation/rest-api/reference/create-job-dimensions) | Creates a dimension. `name` is required. |
| [PATCH Update a job dimension](https://developer.rippling.com/documentation/rest-api/reference/update-job-dimensions) | Updates a dimension by `id`. |
| [DELETE Delete a job dimension](https://developer.rippling.com/documentation/rest-api/reference/delete-job-dimensions) | Deletes a dimension by `id`. |
| [GET List job codes](https://developer.rippling.com/documentation/rest-api/reference/list-job-codes) | Lists job codes. |
| [POST Create a new job code](https://developer.rippling.com/documentation/rest-api/reference/create-job-codes) | Creates a job code. `name` and `job_dimension_id` are required. |
| [PATCH Update a job code](https://developer.rippling.com/documentation/rest-api/reference/update-job-codes) | Updates a job code by `id`. |
| [DELETE Delete a job code](https://developer.rippling.com/documentation/rest-api/reference/delete-job-codes) | Deletes a job code by `id`. |

Related endpoints:

| Endpoint | Description |
| --- | --- |
| [GET List job assignments](https://developer.rippling.com/documentation/rest-api/reference/list-job-assignments) | View the **current active roster** for all workers. |
| [GET Retrieve a specific job assignment](https://developer.rippling.com/documentation/rest-api/reference/get-job-assignments) | View details for **one active assignment**. |
| [POST Create a new job assignment](https://developer.rippling.com/documentation/rest-api/reference/create-job-assignments) | Assign a job code **immediately** or **schedule a future assignment** (using `effective_from`). |
| [PATCH Update a job assignment](https://developer.rippling.com/documentation/rest-api/reference/update-job-assignments) | Update fields on an **active assignment** (e.g., pay rate). |
| [DELETE Delete a job assignment](https://developer.rippling.com/documentation/rest-api/reference/delete-job-assignments) | Unassign a job code **immediately** or **schedule a future unassignment** (using `effective_from`). |

### Suggested workflow

1.  [List job dimensions](https://developer.rippling.com/documentation/rest-api/reference/list-job-dimensions), or [create a dimension](https://developer.rippling.com/documentation/rest-api/reference/create-job-dimensions) when you need a new one. Keep the dimension `id`.
2.  [Create a job code](https://developer.rippling.com/documentation/rest-api/reference/create-job-codes) with that `id` as `job_dimension_id`.
3.  [List job assignments](https://developer.rippling.com/documentation/rest-api/reference/list-job-assignments) to see which workers are on each job code.
4.  [Retrieve the worker](https://developer.rippling.com/documentation/rest-api/reference/get-workers) with `worker_id` when you need more than the assignment record.
5.  [Update a job assignment](https://developer.rippling.com/documentation/rest-api/reference/update-job-assignments) to change `job_pay_rate`. `effective_from` defaults to the current time in UTC and cannot be in the past.
6.  Update or delete a dimension, job code, or assignment with the `id` from an earlier response.

* * *

## Requirements

-   The Rippling API SKU
-   An API token with the following scopes:
    -   `job-dimensions.read` to list dimensions
    -   `job-dimensions.read-write` to create, update, or delete dimensions
    -   `job-codes.read` to list job codes
    -   `job-codes.read-write` to create, update, or delete job codes
    -   `job-assignments.read` to list job assignments
    -   `job-assignments.read-write` to update or delete job assignments
    -   `workers.read` to retrieve a worker from an assignment’s `worker_id`

* * *

## Fetch

### Dimensions

Use [GET List job dimensions](https://developer.rippling.com/documentation/rest-api/reference/list-job-dimensions) to fetch a list of dimensions within a company.

_Request:_

```json
curl -L -X GET 'https://rest.ripplingapis.com/job-dimensions/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
```

_Response:_

```json
{
    "results": [
        {
            "id": "66b25055891aca1dfb199246",
            "created_at": "2024-08-06T16:33:25.383000+00:00",
            "updated_at": "2025-05-09T17:57:00.723000+00:00",
            "name": "Engineering",
            "external_id": null,
            "includes_custom_location": false,
            "roster_type": "PER_JOB_CODE",
            "group_id": null
        },
    ],
}
```

### Job codes

Use [GET List job codes](https://developer.rippling.com/documentation/rest-api/reference/list-job-codes) to fetch a list of jobs within each dimension.

_Request:_

```json
curl -L -X GET 'https://rest.ripplingapis.com/job-codes/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
```

_Response:_

```json
{
  "results": [
    {
      "id": "66b2512c4ad1db34abae1e82",
      "created_at": "2024-08-06T16:37:00.455000+00:00",
      "updated_at": "2025-05-09T17:57:02.926000+00:00",
      "name": "Sales",
      "job_dimension_id": "66b25055891aca1dfb199246",
      "job_dimension": null,
      "external_id": null,
      "group_id": "681e41ee1387c3967bc6cba3",
      "custom_location": null,
      "work_location_id": null,
      "work_location": null,
      "department_id": null,
      "department": null
    },
  ],
}
```

* * *

## Create

### Dimension

Use [POST Create a new job dimension](https://developer.rippling.com/documentation/rest-api/reference/create-job-dimensions) to create a new job dimension.

_Request:_

```json
curl -L -X POST 'https://rest.ripplingapis.com/job-dimensions/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
```

_Request body:_

```json
{
  "name": "Tasks",
  "external_id": "pos-dimension-tasks",
  "includes_custom_location": true,
  "roster_type": "PER_DIMENSION"
}
```

| Request body field | Required | Description | | --- | --- | | `name` | Yes | Name of the dimension. | | `external_id` | No | Identifier of the dimension in a third-party system. | | `includes_custom_location` | No | Whether job codes in this dimension can store a custom location. Only one dimension in the company can be true. | | `roster_type` | No | `PER_DIMENSION` or `PER_JOB_CODE`. Defaults to `PER_DIMENSION`. |

_Response:_

```json
{
  "id": "6827b133c1b3673c4094b7ea",
  "created_at": "2025-05-16T21:42:11.785000+00:00",
  "updated_at": "2025-05-16T21:42:12.735000+00:00",
  "name": "Tasks",
  "external_id": "pos-dimension-tasks",
  "includes_custom_location": true,
  "roster_type": "PER_DIMENSION",
  "group_id": "6827b134c1b3673c4094b800"
}
```

### Job code

Use [POST Create a new job code](https://developer.rippling.com/documentation/rest-api/reference/create-job-codes) to create a new job code. Requires `id` of the dimension the job code will be nested under.

_Request:_

```json
curl -L -X POST 'https://rest.ripplingapis.com/job-codes/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
```

_Request body:_

```json
{
  "name": "Barista",
  "job_dimension_id": "6827b133c1b3673c4094b7ea",
  "external_id": null
}
```

| Request body field | Required | Description | | --- | --- | | `name` | Yes | Name of the job code. | | `job_dimension_id` | Yes | Dimension this job code belongs to. | | `external_id` | No | Identifier of the job code in an outside system. |

_Response:_

```json
{
  "id": "682b62564756e8dd608c3ddb",
  "created_at": "2025-05-19T16:54:46.353000+00:00",
  "updated_at": "2025-05-19T16:54:46.358000+00:00",
  "name": "Barista",
  "job_dimension_id": "6827b133c1b3673c4094b7ea",
  "job_dimension": null,
  "external_id": null,
  "group_id": null,
  "custom_location": null,
  "work_location_id": null,
  "work_location": null,
  "department_id": null,
  "department": null
}
```

* * *

## Update

### Dimension

Use [PATCH Update a job dimension](https://developer.rippling.com/documentation/rest-api/reference/update-job-dimensions) to update a job dimension. Requires the dimension `id`.

_Request:_

```json
curl -L -X PATCH 'https://rest.ripplingapis.com/job-dimensions/6827b133c1b3673c4094b7ea/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
```

_Request body:_

```json
{
  "name": "Tasks",
  "external_id": "pos-dimension-tasks",
  "includes_custom_location": true,
  "roster_type": "PER_DIMENSION"
}
```

| Request body field | Required | Description |
| --- | --- | --- |
| `name` | Yes | Name of the dimension. |
| `external_id` | No | Identifier of the dimension in a third-party system. |
| `includes_custom_location` | No | Whether job codes in this dimension can store a custom location. Only one dimension in the company can be true. |
| `roster_type` | No | `PER_DIMENSION` or `PER_JOB_CODE`. |

_Response:_

```json
{
  "id": "6827b133c1b3673c4094b7ea",
  "created_at": "2025-05-16T21:42:11.785000+00:00",
  "updated_at": "2025-05-16T21:42:12.735000+00:00",
  "name": "Tasks",
  "external_id": "pos-dimension-tasks",
  "includes_custom_location": true,
  "roster_type": "PER_DIMENSION",
  "group_id": "6827b134c1b3673c4094b800"
}
```

### Job code

Use [PATCH Update a job code](https://developer.rippling.com/documentation/rest-api/reference/update-job-codes) to update a job code. Requires the job code `id`.

_Request:_

```json
curl -L -X PATCH 'https://rest.ripplingapis.com/job-codes/682b62564756e8dd608c3ddb/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
```

_Request body:_

```json
{
  "name": "Barista 2",
  "job_dimension_id": "6827b133c1b3673c4094b7ea",
  "external_id": null
}
```

| Request body field | Required | Description |
| --- | --- | --- |
| `name` | Yes | Name of the job code. |
| `job_dimension_id` | Yes | Dimension this job code belongs to. |
| `external_id` | No | Identifier of the job code in an outside system. |

_Response:_

```json
{
  "id": "682b62564756e8dd608c3ddb",
  "created_at": "2025-05-19T16:54:46.353000+00:00",
  "updated_at": "2025-05-19T16:54:46.358000+00:00",
  "name": "Barista 2",
  "job_dimension_id": "6827b133c1b3673c4094b7ea",
  "job_dimension": null,
  "external_id": null,
  "group_id": null,
  "custom_location": null,
  "work_location_id": null,
  "work_location": null,
  "department_id": null,
  "department": null
}
```

* * *

## Delete

### Dimension

Use [DELETE Delete a job dimension](https://developer.rippling.com/documentation/rest-api/reference/delete-job-dimensions) to delete a job dimension. Requires the dimension `id`.

_Request:_

```json
curl -L -X DELETE 'https://rest.ripplingapis.com/job-dimensions/6827b133c1b3673c4094b7ea/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
```

A successful delete returns `204` and no body.

### Job code

Use [DELETE Delete a job code](https://developer.rippling.com/documentation/rest-api/reference/delete-job-codes) to delete a job code. Requires the job code `id`.

_Request:_

```json
curl -L -X DELETE 'https://rest.ripplingapis.com/job-codes/682b62564756e8dd608c3ddb/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
```

A successful delete returns `204` and no body.

* * *

## Use cases

### Managing with a third-party system

A retail chain uses an external point-of-sale (POS) system to manage dimensions and employee job codes. The POS system is the source of truth for all job-related data, including dimensions, job codes, and job rosters. The data in the POS system is pushed into Rippling.

[React Flow](https://reactflow.dev/)

Press enter or space to select a node.You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.

Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

1.  Whenever a new dimension is created in the POS system, it is pushed into Rippling using [POST Create a new job dimension](https://developer.rippling.com/documentation/rest-api/reference/create-job-dimensions).
2.  Whenever a new job code is created in the POS system, it automatically pushes these updates to Rippling using [POST Create a new job code](https://developer.rippling.com/documentation/rest-api/reference/create-job-codes).
3.  If a dimension or job code is updated in the POS system, it is automatically updated in Rippling using [PATCH Update a job dimension](https://developer.rippling.com/documentation/rest-api/reference/update-job-dimensions) or [PATCH Update a job code](https://developer.rippling.com/documentation/rest-api/reference/update-job-codes).
4.  Employee job rosters are managed within the POS system. The POS system periodically updates Rippling with the latest roster information using [PATCH Update a job assignment](https://developer.rippling.com/documentation/rest-api/reference/update-job-assignments).

### Managing with Rippling

An engineering firm uses Rippling as the source of truth and the primary system for creating and managing dimensions, job codes, and job assignments. The firm has a third-party analytics platform that needs to fetch this data for reporting purposes.

[React Flow](https://reactflow.dev/)

Press enter or space to select a node.You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.

Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

1.  The third-party system can fetch dimensions using [GET List job dimensions](https://developer.rippling.com/documentation/rest-api/reference/list-job-dimensions).
2.  The third-party can fetch job codes using [GET List job codes](https://developer.rippling.com/documentation/rest-api/reference/list-job-codes).
3.  The third-party can fetch job codes and the employees assigned to these job codes using [GET List job assignments](https://developer.rippling.com/documentation/rest-api/reference/list-job-assignments).

### Managing with both

A consulting firm uses a third-party project management tool to create and manage job dimensions, such as "Project Name" and "Project Phase." Each project is assigned a unique job code, which is also created in the third-party.

While dimensions and job codes are managed in the third-party system, the firm manages job assignments internally within Rippling.

[React Flow](https://reactflow.dev/)

Press enter or space to select a node.You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.

Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

1.  Whenever a new dimension is created in the third-party system, it is pushed into Rippling using [POST Create a new job dimension](https://developer.rippling.com/documentation/rest-api/reference/create-job-dimensions).
2.  Whenever a new job code is created in the third-party system, it automatically pushes these updates to Rippling using [POST Create a new job code](https://developer.rippling.com/documentation/rest-api/reference/create-job-codes).
3.  If a dimension or job code is updated in the third-party system, it is automatically updated in Rippling using [PATCH Update a job dimension](https://developer.rippling.com/documentation/rest-api/reference/update-job-dimensions) or [PATCH Update a job code](https://developer.rippling.com/documentation/rest-api/reference/update-job-codes).
4.  The third-party can fetch job codes and the employees assigned to these job codes using [GET List job assignments](https://developer.rippling.com/documentation/rest-api/reference/list-job-assignments).

* * *

## See also

-   [Get started with the Organizational Data API](https://developer.rippling.com/documentation/rest-api/guides/org-data-getting-started)
-   [How to set up Jobs in Rippling: Dimensions](https://help.rippling.com/article?articleId=360056300673)
-   [Jobs overview](https://help.rippling.com/article?articleId=360054483214)
-   [Job rosters: Overview & how to use](https://help.rippling.com/article?articleId=908156554855)
-   [API tokens and permissions](https://developer.rippling.com/documentation/rest-api/essentials/api-tokens)
-   [Schedule and manage job assignments](https://developer.rippling.com/documentation/rest-api/guides/job-assignments)

Source: https://developer.rippling.com/documentation/rest-api/guides/managing-job-rosters

> 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.
