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 settings managed by navigating to Tools > Developer > Custom Settings in Rippling.
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 instring_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 innumber_value. - BOOLEAN: Send as a Boolean in
value; returned inboolean_value.
Available endpoints
| Endpoint | Description |
|---|---|
| GET List custom settings | Lists custom settings. Use api_name on retrieve, update, and delete calls. |
| GET Retrieve a custom setting | Returns one setting by api_name. Read the value from string_value, number_value, or boolean_value. |
| POST Create a custom setting | Creates a setting. Send display_name, a unique api_name, data_type, and value. Keep api_name. |
| PATCH Update a custom setting | Updates a setting by api_name. Send the new value in value. api_name and data_type stay fixed. |
| DELETE Delete a custom setting | Deletes a setting by api_name. |
Suggested workflow
- List custom settings or create a setting when you need a new one. On create, send
display_name, a uniqueapi_name,data_type, andvalue. The JSON type ofvaluemust match the data type. Keepapi_name. - Retrieve the setting by
api_name. Read the value from the response field for that data type:string_value,number_value, orboolean_value.SECRETvalues are write-only and are not returned. - Update the setting by
api_namewhen the value needs to change. Send the new value invalue.api_nameanddata_typestay fixed after create. - Delete the setting by
api_namewhen it is no longer needed.
Requirements
- The Rippling API SKU
-
- An API token with the following scopes:
custom-settings.readto list or retrieve settingscustom-settings.read-writeto list and manage settings
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 to return a paginated list of settings.
Request:
curl -L -X GET 'https://rest.ripplingapis.com/custom-settings/?limit=50'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
Response:
{
"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 to retrieve a specific setting by API name.
Request:
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 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:
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:
{
"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:
{
"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 to change a setting value. Identify the setting by its API name and send the new value in value.
Request:
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:
{
"value": 5
}
For the other supported data types, keep the value property and change its JSON type.
{
"value": "payroll-operations"
}
{
"value": "<SECRET_VALUE>"
}
{
"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 to delete a setting by API name.
Request:
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. |