Overview
Supergroups APIs offer access to supergroup data in Rippling. Once defined, these supergroups can be reused anywhere you use groups in Rippling, like integrations, automations, and policies.
| API endpoint | Required scopes | Schema | Notes / Requirements |
|---|---|---|---|
| GET List supergroups |
|
| |
| GET Retrieve a specific supergroup |
|
|
|
| GET List supergroup members |
|
|
|
| GET List supergroup inclusion members |
|
|
|
| GET List supergroup exclusion members |
|
|
|
| PATCH Update supergroup inclusion members |
|
| |
| PATCH Update supergroup exclusion members |
|
|
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.
For more information on managing access using API tokens and permission profiles, see API Tokens and Permissions.
Call the API
To call a Supergroups API endpoint:
- Verify the user’s permission profile and ensure they have the permissions required to access the desired data.
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.
- Create an API token in the Developer app with the required scopes.
- 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 supergroups
Request:
curl -L -X GET ‘https://rest.ripplingapis.com/supergroups'’ \
-H 'Accept: application/json' \
-H 'Authorization: Bearer REDACTED'
Response:
{
"results": [
{
"id": "65699280fb7bc7c3510f9043",
"created_at": "2023-12-01T08:00:00.352000+00:00",
"updated_at": "2024-03-19T22:17:47.664000+00:00",
"display_name": "Rippling_custom_worker_onboard_tshirtSize",
"name": "Rippling_custom_worker_onboard_tshirtSize",
"app_owner_id": "65699281fb7bc7c3510f3ce2",
"group_type": null,
"sub_group_type": null,
"read_only": false,
"description": null,
"parent": null,
"mutually_exclusive_key": null,
"cumulatively_exhaustive_default": false,
"include_terminated": false,
"allow_non_employees": false,
"can_override_role_states": false,
"priority": null,
"is_invisible": false,
"ignore_prov_group_matching": false
},
],
"next_link": null
}
