# Rippling Developer API guide

> Use the Rippling Developer API for functions, workflows, custom settings, and sites.

## Overview

Developer APIs offer access to automation and platform tools created in the Developer app in Rippling, including functions and automations.

### Automations

| API endpoint | Required scopes | Schema | Notes / Requirements |
| --- | --- | --- | --- |
| [GET List workflows](https://developer.rippling.com/documentation/rest-api/reference/list-workflows) | -   `workflows.read`<br>-   `workflows.read-write` | -   `WorkflowSummary` | Returns a paginated list of workflow summaries. |
| [POST Create a workflow](https://developer.rippling.com/documentation/rest-api/reference/create-workflows) | -   `workflows.read-write` | -   `WorkflowResource`<br>-   `WorkflowCreateInput` | Requires `name`, `trigger`, and `actions`. Creates a draft workflow by default. |
| [GET Retrieve a workflow](https://developer.rippling.com/documentation/rest-api/reference/get-workflows) | -   `workflows.read`<br>-   `workflows.read-write` | -   `WorkflowResource` | Requires the workflow `id` from GET List workflows. Returns the full definition and authoring capabilities. |
| [PATCH Update a workflow](https://developer.rippling.com/documentation/rest-api/reference/update-workflows) | -   `workflows.read-write` | -   `WorkflowResource`<br>-   `WorkflowUpdateInput` | Requires the workflow `id` and current `version_id`. |
| [DELETE Delete a workflow](https://developer.rippling.com/documentation/rest-api/reference/delete-workflows) | -   `workflows.read-write` | \- | Requires the workflow `id`. The workflow must be marked `deletable`. |
| [POST Execute a workflow action from Rippling Functions](https://developer.rippling.com/documentation/rest-api/reference/workflow-action-executions) | -   `workflow-action-executions.read-write` | -   `WorkflowActionExecution`<br>-   `WorkflowActionExecutionRequest` | Requires `action_type`, `payload`, and `workflow_definition_id`. |

### Functions

| API endpoint | Required scopes | Schema | Notes / Requirements |
| --- | --- | --- | --- |
| [GET List functions](https://developer.rippling.com/documentation/rest-api/reference/list-functions) | -   `functions.read`<br>-   `functions.read-write` | -   `Function` |  |
| [GET Retrieve a specific function](https://developer.rippling.com/documentation/rest-api/reference/get-functions) | -   `functions.read`<br>-   `functions.read-write` | -   `Function` | -   Requires `function_api_name` from GET List functions (`api_name`). |
| [POST Create a new function](https://developer.rippling.com/documentation/rest-api/reference/create-functions) | -   `functions.read-write` | -   `Function`<br>-   `FunctionRequest` |  |
| [PATCH Update a function](https://developer.rippling.com/documentation/rest-api/reference/update-functions) | -   `functions.read-write` | -   `Function`<br>-   `FunctionRequest` | -   Requires `function_api_name` from GET List functions (`api_name`). |
| [GET List function executions](https://developer.rippling.com/documentation/rest-api/reference/list-functions-function-api-name-executions) | -   `function-executions.read`<br>-   `function-executions.read-write` | -   `FunctionExecution` | -   Requires `function_api_name` from GET List functions (`api_name`). |
| [GET Retrieve a specific function execution](https://developer.rippling.com/documentation/rest-api/reference/get-functions-function-api-name-executions) | -   `function-executions.read`<br>-   `function-executions.read-write` | -   `FunctionExecution` | -   Requires `function_api_name` from GET List functions (`api_name`).<br>-   Requires `execution_id` from GET List function executions (`id`). |
| [GET List function execution logs](https://developer.rippling.com/documentation/rest-api/reference/list-functions-function-api-name-executions-execution-id-logs) | -   `functions.read`<br>-   `functions.read-write` | -   `FunctionExecutionLog` | -   Requires `function_api_name` from GET List functions (`api_name`).<br>-   Requires `execution_id` from GET List function executions (`id`). |
| [POST Create a new function execution](https://developer.rippling.com/documentation/rest-api/reference/create-functions-function-api-name-executions) | -   `function-executions.read-write`<br>-   `function-executions.write` | -   `FunctionExecution`<br>-   `FunctionExecutionRequest` | -   Requires `function_api_name` from GET List functions (`api_name`). |
| [GET List function deployments](https://developer.rippling.com/documentation/rest-api/reference/list-functions-function-api-name-deployments) | -   `functions.read`<br>-   `functions.read-write` | -   `FunctionDeployment` | -   Requires `function_api_name` from GET List functions (`api_name`). |
| [GET Retrieve a specific function deployment](https://developer.rippling.com/documentation/rest-api/reference/get-functions-function-api-name-deployments) | -   `functions.read`<br>-   `functions.read-write` | -   `FunctionDeployment` | -   Requires `function_api_name` from GET List functions (`api_name`).<br>-   Requires `deployment_id` from GET List function deployments (`id`). |
| [GET List function deployment logs](https://developer.rippling.com/documentation/rest-api/reference/list-functions-function-api-name-deployments-deployment-id-logs) | -   `functions.read`<br>-   `functions.read-write` | -   `FunctionDeploymentLog` | -   Requires `function_api_name` from GET List functions (api\_name).<br>-   Requires `deployment_id` from GET List function deployments (`id`). |
| [POST Create a new function deployment](https://developer.rippling.com/documentation/rest-api/reference/create-functions-function-api-name-deployments) | -   `functions.read-write` | -   `FunctionDeployment`<br>-   `FunctionDeploymentRequest` | -   Requires `function_api_name` from GET List functions (`api_name`). |
| [POST Create a new function dev bundle](https://developer.rippling.com/documentation/rest-api/reference/create-functions-function-api-name-dev-bundles) | -   `functions.read-write` | -   `FunctionDevBundle` | -   Requires `function_api_name` from GET List functions (`api_name`). |

### Settings

| API endpoint | Required scopes | Schema | Notes / Requirements |
| --- | --- | --- | --- |
| [GET List custom settings](https://developer.rippling.com/documentation/rest-api/reference/list-custom-settings) | -   `custom-settings.read`<br>-   `custom-settings.read-write` | -   `Setting` | Secret values are omitted. |
| [GET Retrieve a custom setting](https://developer.rippling.com/documentation/rest-api/reference/get-custom-settings) | -   `custom-settings.read`<br>-   `custom-settings.read-write` | -   `Setting` | Requires the setting `api_name` from GET List custom settings. Secret values are omitted. |
| [POST Create a custom setting](https://developer.rippling.com/documentation/rest-api/reference/create-custom-settings) | -   `custom-settings.read-write` | -   `Setting`<br>-   `SettingCreateRequest` | Send the setting value in `value`; its JSON type must match `data_type`. |
| [PATCH Update a custom setting](https://developer.rippling.com/documentation/rest-api/reference/update-custom-settings) | -   `custom-settings.read-write` | -   `Setting`<br>-   `SettingUpdateRequest` | Requires the setting `api_name`. Send the new setting value in `value`. |
| [DELETE Delete a custom setting](https://developer.rippling.com/documentation/rest-api/reference/delete-custom-settings) | -   `custom-settings.read-write` | \- | Requires the setting `api_name`. |

See [Create and manage settings](https://developer.rippling.com/documentation/rest-api/guides/custom-settings) for request examples for string, secret, number, and boolean settings.

### Sites

| API endpoint | Required scopes | Schema | Notes / Requirements |
| --- | --- | --- | --- |
| [GET List sites](https://developer.rippling.com/documentation/rest-api/reference/list-sites) | -   `sites.read`<br>-   `sites.read-write` | -   `Site` | Returns a paginated list of sites you can view or edit. |
| [GET Retrieve a specific site](https://developer.rippling.com/documentation/rest-api/reference/get-sites) | -   `sites.read`<br>-   `sites.read-write` | -   `Site` | Requires the site `api_name`. Returns one site by that exact API name. |
| [POST Create a presigned staged upload batch](https://developer.rippling.com/documentation/rest-api/reference/upload-batches-presign-sites) | -   `sites.read-write` | -   `SiteStagedUploadBatchResponse`<br>-   `SitePresignUploadBatchRequest` | Requires `file_intents`. Returns upload URLs for your site files. Each staged upload expires 1 hour after you presign it. |
| [POST Create a new site](https://developer.rippling.com/documentation/rest-api/reference/create-sites) | -   `sites.read-write` | -   `Site`<br>-   `SiteWriteRequest` | Requires `name`, `api_name`, and `file_id` from the staged upload. |
| [PATCH Update a site](https://developer.rippling.com/documentation/rest-api/reference/update-sites) | -   `sites.read-write` | -   `Site`<br>-   `SiteWriteRequest` | Requires the site `api_name`. Pass `file_id` to replace all of its files. |
| [GET List files in the active bundle](https://developer.rippling.com/documentation/rest-api/reference/files-sites) | -   `sites.read`<br>-   `sites.read-write` | -   `SiteFileListResponse` | Requires the site `api_name`. Optional `parent_path` and `recursive`. |
| [POST Apply file operations to a site bundle](https://developer.rippling.com/documentation/rest-api/reference/file-operations-sites) | -   `sites.read-write` | -   `Site`<br>-   `SiteFileOperationsRequest` | Requires the site `api_name` and `operations`. Adds, renames, moves, or deletes individual files and folders. `base_bundle_id` must match the active bundle. |
| [DELETE Delete a site](https://developer.rippling.com/documentation/rest-api/reference/delete-sites) | -   `sites.read-write` | \- | Requires the site `api_name`. |

See [Create and manage sites](https://developer.rippling.com/documentation/rest-api/guides/sites) for instructions on using these endpoints.

* * *

## Permissions & scopes

Rippling's V2 API uses a permissions-based access model. The data returned by an endpoint depends on:

-   The permission profile of the user who creates the API token. This includes the **permission scope** (e.g., _“The entire company”_ vs. _“Direct reports only”_) and **employment data access level** (e.g., _“View and edit all sensitive data”_ vs. _“View all basic personal”_).
-   The scopes selected when the token is created.

Each endpoint lists its required scopes in the **Required Scopes** section of the API documentation.

#### Example

![Developer Getting Started](https://developer.rippling.com/assets/images/gettingstartedguide2-7b37a3b054c1a404fb1af488fb2a1a49.png)

For more information on managing access using API tokens and permission profiles, see [API Tokens and Permissions](https://developer.rippling.com/documentation/rest-api/essentials/api-tokens).

* * *

## Call the API

To call a Developer API endpoint:

1.  Verify the user’s permission profile and ensure they have the permissions required to access the desired data.

> **Note:**
> If the user’s permissions are limited (for example, _“Basic personal data for direct reports only”_):
>
> -   Some scopes will not be available when creating the API token.
> -   The API response will return limited data.

2.  Create an API token in the [Developer app](https://app.rippling.com/api-tokens/tokens) with the required scopes.
3.  Call the endpoint using the generated token.

Some endpoints require a specific resource ID (for example, a `worker_id`). In these cases, call the corresponding list endpoint first to fetch the ID (e.g. call GET List workers before calling GET Retrieve a specific worker).

### Example: GET List functions

_Request:_

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

_Response:_

```text
{
  "results": [
    {
      "id": "67af9fdd968c13ed38b352f2",
      "created_at": "2025-02-14T19:56:13.972000+00:00",
      "updated_at": "2025-12-18T23:25:07.197000+00:00",
      "name": "Test",
      "api_name": "test",
      "description": "",
      "code_draft": "{\n    \"object_api_name\": \"pet__c\",\n    \"record_ids\": [\"<object_id>\", \"<object_id>\"],\n    \"current_user\": \"<object_id>\",\n    \"app_id\": \"<object_id>\",\n    \"list_view_id\": \"<object_id>\",\n    \"page_id\": \"<object_id>\",\n    \"button\": \"my_cool_button\",\n    \"url\": \"https://app.rippling.com/custom-apps/objects/rto_expectation__c?app=rto_hub\", \n    \"trigger_type\": \"list view\",\n}",
      "dependencies": {}
    },
    {
      "id": "6966ad672626b42f91393418",
      "created_at": "2026-01-13T20:39:03.525000+00:00",
      "updated_at": "2026-01-13T21:40:17.684000+00:00",
      "name": "Test1",
      "api_name": "test1",
      "description": "",
      "code_draft": "import RipplingSDK, {\n  FunctionContext,\n  FunctionEvent,\n  FunctionResponse,\n} from \"@rippling/rippling-sdk\";\nimport _ from \"lodash\";\n\nexport async function onRipplingEvent(\n  event: FunctionEvent,\n  context: FunctionContext\n) {\n  const ripplingSDK = new RipplingSDK({ bearerToken: \"REDACTED\" });\n\n  // Log once to discover the real shape\n  console.log(\"event:\", JSON.stringify(event));\n \n  const ownerRole = (event as any).owner_role; // verify from logs\n  const name =\n    (event as any).name ??\n    (event as any).record_id ??\n    (event as any).inputs?.name;\n}",
      "dependencies": {
        "@rippling/rippling-sdk": "^0.2.0-alpha.25",
        "lodash": "^4.17.21",
        "moment": "^2.30.1"
      }
    }
  ],
  "next_link": null
}
```

Source: https://developer.rippling.com/documentation/rest-api/guides/dev-getting-started

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