# Create and manage settings

> Create and manage custom settings in Rippling using the Settings API.

## Overview

Custom settings help you keep track of all the settings used in your functions. The Settings API allows you to create, retrieve, update, and delete custom settings programmatically. These are the same custom settings managed in the Developer app. Open **Developer**, then select **Custom Settings** under **Build**. If your sidebar groups apps under **Tools**, open **Tools > Developer** first. See [Custom settings](https://developer.rippling.com/documentation/rippling-platform/developer/custom-settings) for creation and function-linking instructions.

A custom setting has a fixed data type. Create and update requests always send the setting value in `value`. The response then places the value in the specific field that corresponds to its data type:

-   **STRING**: Send as a String in `value`; returned in `string_value`.
-   **SECRET**: Send as a String in `value`; write-only and not returned by the API (`secret_value`).
-   **NUMBER**: Send as a Number in `value`; returned in `number_value`.
-   **BOOLEAN**: Send as a Boolean in `value`; returned in `boolean_value`.

### Available endpoints

| Endpoint | Description |
| --- | --- |
| [GET List custom settings](https://developer.rippling.com/documentation/rest-api/reference/list-custom-settings) | Lists custom settings. Use `api_name` on retrieve, update, and delete calls. |
| [GET Retrieve a custom setting](https://developer.rippling.com/documentation/rest-api/reference/get-custom-settings) | Returns one setting by `api_name`. Read the value from `string_value`, `number_value`, or `boolean_value`. |
| [POST Create a custom setting](https://developer.rippling.com/documentation/rest-api/reference/create-custom-settings) | Creates a setting. Send `display_name`, a unique `api_name`, `data_type`, and `value`. Keep `api_name`. |
| [PATCH Update a custom setting](https://developer.rippling.com/documentation/rest-api/reference/update-custom-settings) | Updates a setting by `api_name`. Send the new value in `value`. `api_name` and `data_type` stay fixed. |
| [DELETE Delete a custom setting](https://developer.rippling.com/documentation/rest-api/reference/delete-custom-settings) | Deletes a setting by `api_name`. |

### Suggested workflow

1.  [List custom settings](https://developer.rippling.com/documentation/rest-api/reference/list-custom-settings) or [create a setting](https://developer.rippling.com/documentation/rest-api/reference/create-custom-settings) when you need a new one. On create, send `display_name`, a unique `api_name`, `data_type`, and `value`. The JSON type of `value` must match the data type. Keep `api_name`.
2.  [Retrieve the setting](https://developer.rippling.com/documentation/rest-api/reference/get-custom-settings) by `api_name`. Read the value from the response field for that data type: `string_value`, `number_value`, or `boolean_value`. `SECRET` values are write-only and are not returned.
3.  [Update the setting](https://developer.rippling.com/documentation/rest-api/reference/update-custom-settings) by `api_name` when the value needs to change. Send the new value in `value`. `api_name` and `data_type` stay fixed after create.
4.  [Delete the setting](https://developer.rippling.com/documentation/rest-api/reference/delete-custom-settings) by `api_name` when it is no longer needed.

* * *

## Requirements

-   The Rippling API SKU
-   -   An API token with the following scopes:
    -   `custom-settings.read` to list or retrieve settings
    -   `custom-settings.read-write` to list and manage settings

> **Note:**
> The API token should be created by a user who has permission to view or manage the relevant custom settings.

* * *

## Fetch

Use [GET List custom settings](https://developer.rippling.com/documentation/rest-api/reference/list-custom-settings) to return a paginated list of settings.

_Request:_

```json
curl -L -X GET 'https://rest.ripplingapis.com/custom-settings/?limit=50'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
```

_Response:_

```json
{
  "results": [
    {
      "id": "67f41be58d45f34973e85f21",
      "display_name": "Notification channel",
      "api_name": "notification_channel",
      "data_type": "STRING",
      "secret_value": null,
      "string_value": "operations",
      "number_value": null,
      "boolean_value": null
    }
  ],
  "next_link": null
}
```

Use [GET Retrieve a custom setting](https://developer.rippling.com/documentation/rest-api/reference/get-custom-settings) to retrieve a specific setting by API name.

_Request:_

```json
curl -L -X GET 'rest.ripplingapis.com/custom-settings/notification_channel/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
```

* * *

## Create

Use [POST Create a custom setting](https://developer.rippling.com/documentation/rest-api/reference/create-custom-settings) to create a setting. Provide a display name, a unique API name, a data type, and a value whose JSON type matches the data type.

_Request:_

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

_Request body:_

```json
{
  "display_name": "Retry limit",
  "api_name": "retry_limit",
  "data_type": "NUMBER",
  "value": 3
}
```

| Request body field | Required | Description |
| --- | --- | --- |
| `display_name` | Yes | The display name of the setting. |
| `api_name` | Yes | The unique API name of the setting. Use this on later retrieve, update, and delete calls. It cannot be changed after create. |
| `data_type` | Yes | Data type of the setting: `STRING`, `SECRET`, `NUMBER`, or `BOOLEAN`. It cannot be changed after create. |
| `value` | Yes | The setting value. Use a string for `STRING` and `SECRET`, a number for `NUMBER`, and a boolean for `BOOLEAN`. |

_Response:_

```json
{
  "id": "67f41be58d45f34973e85f22",
  "created_at": "2026-03-18T18:05:40.879000+00:00",
  "updated_at": "2026-03-18T18:05:40.879000+00:00",
  "display_name": "Retry limit",
  "api_name": "retry_limit",
  "data_type": "NUMBER",
  "secret_value": null,
  "string_value": null,
  "number_value": 3,
  "boolean_value": null
}
```

* * *

## Update

Use [PATCH Update a custom setting](https://developer.rippling.com/documentation/rest-api/reference/update-custom-settings) to change a setting value. Identify the setting by its API name and send the new value in `value`.

_Request:_

```json
curl -L -X PATCH 'https://rest.ripplingapis.com/custom-settings/retry_limit/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
```

_Request body:_

```json
{
  "value": 5
}
```

For the other supported data types, keep the `value` property and change its JSON type.

String

```json
{
  "value": "payroll-operations"
}
```

Secret

```json
{
  "value": "<SECRET_VALUE>"
}
```

Boolean

```json
{
  "value": true
}
```

Omit `value` when you intend to preserve the existing value, including an existing secret. A successful update returns `200 OK` and does not include the stored value for a secret setting.

* * *

## Delete

Use [DELETE Delete a custom setting](https://developer.rippling.com/documentation/rest-api/reference/delete-custom-settings) to delete a setting by API name.

_Request:_

```json
curl -L -X DELETE 'https://rest.ripplingapis.com/custom-settings/retry_limit/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
```

A successful delete returns `204` and no response body.

* * *

## Errors

| Response | Likely cause | What to check |
| --- | --- | --- |
| `400 Bad Request` | Invalid body or a value that does not match the setting data type | Send `value` using the JSON type corresponding to `data_type`. |
| `403 Forbidden` | Missing scope or insufficient user permissions | For writes, confirm `custom-settings.read-write` and confirm the token owner can manage the setting. |
| `404 Not Found` | No setting exists with the requested API name | List settings with the same token and use the returned `api_name`. An existing setting that the token owner cannot view returns `403 Forbidden`. |

* * *

## See also

-   [Get started with the Developer API](https://developer.rippling.com/documentation/rest-api/guides/dev-getting-started)
-   [Custom settings](https://developer.rippling.com/documentation/rippling-platform/developer/custom-settings)
-   [API tokens and permissions](https://developer.rippling.com/documentation/rest-api/essentials/api-tokens)

Source: https://developer.rippling.com/documentation/rest-api/guides/custom-settings

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