Rippling
Rippling API Authentication
How Toku authenticates with the Rippling REST API using OAuth 2.0 and admin-approved scopes
Toku connects to Rippling as a partner app built in the Rippling Developer Portal and published as an App Listing in the Rippling App Shop. Your Rippling admin installs the app once and consents to the declared scopes — no API keys are copied or stored by your team.
OAuth 2.0 Flow#
Rippling uses the standard OAuth 2.0 authorization-code flow:
Install
Your admin installs Toku from the Rippling App Shop and reviews the consent screen, which lists every scope declared on Toku's App Listing.
Exchange
Rippling redirects back to Toku with
?code=..., an authorization code that Toku's backend exchanges for an access token and refresh token.Refresh
Tokens are issued per-company. Toku rotates access tokens automatically using the refresh token — the connection stays live without re-authorization.
Authenticated requests to the Rippling REST API carry the token as a bearer header:
Scopes#
Rippling scopes follow a per-resource read/write convention: each scope is declared on Toku's App Listing, shown to your admin at install time, and gates access to the matching endpoints. Toku requests the minimum set needed for stablecoin payroll:
| Resource | Access | Used for |
|---|---|---|
| Workers | Read | Worker roster sync and matching |
| Compensations | Read | Validating election limits against pay |
| Payroll runs & records | Read | Pay period and payroll status sync |
| Earnings inputs | Write | Reflecting the Toku pay line item on the run |
Any call outside the approved scopes is rejected by Rippling. You can revoke Toku's installation at any time from your Rippling account, which invalidates the company's tokens.
Environments#
| Environment | Base URL |
|---|---|
| Production | https://rest.ripplingapis.com |
Toku is integrated through Rippling's partner app process in the Developer Portal. See the Rippling REST API documentation to validate any of the calls referenced in this section — note that Rippling's endpoint-level reference requires a Rippling developer sign-in.
Next#
How Toku reads your worker roster
How Toku tracks payroll runs and pay periods