For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
guide

Create and manage settings

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

Use with AI:Rippling AI ChatGPT Claude Cursor

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

EndpointDescription
GET List custom settingsLists custom settings. Use api_name on retrieve, update, and delete calls.
GET Retrieve a custom settingReturns one setting by api_name. Read the value from string_value, number_value, or boolean_value.
POST Create a custom settingCreates a setting. Send display_name, a unique api_name, data_type, and value. Keep api_name.
PATCH Update a custom settingUpdates a setting by api_name. Send the new value in value. api_name and data_type stay fixed.
DELETE Delete a custom settingDeletes a setting by api_name.

Suggested workflow​

  1. List custom settings or create a setting 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 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 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 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

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 fieldRequiredDescription
display_nameYesThe display name of the setting.
api_nameYesThe unique API name of the setting. Use this on later retrieve, update, and delete calls. It cannot be changed after create.
data_typeYesData type of the setting: STRING, SECRET, NUMBER, or BOOLEAN. It cannot be changed after create.
valueYesThe 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.

String
{
"value": "payroll-operations"
}
Secret
{
"value": "<SECRET_VALUE>"
}
Boolean
{
"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​

ResponseLikely causeWhat to check
400 Bad RequestInvalid body or a value that does not match the setting data typeSend value using the JSON type corresponding to data_type.
403 ForbiddenMissing scope or insufficient user permissionsFor writes, confirm custom-settings.read-write and confirm the token owner can manage the setting.
404 Not FoundNo setting exists with the requested API nameList 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​