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
Article

API reference

Use with AI:Rippling AI ChatGPT Claude Cursor

Shared​

Types

Companies​

Types Methods
  • client.companies.list({ ...params }) -> CompaniesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const company of client.companies.list()) {
      console.log(company.id);
      }

Compensations​

Types Methods
  • client.compensations.list({ ...params }) -> CompensationsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const compensation of client.compensations.list()) {
      console.log(compensation.id);
      }
  • client.compensations.retrieve(id, { ...params }) -> CompensationRetrieveResponse

CustomObjects​

Types Methods
  • client.customObjects.list() -> CustomObjectsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const customObject of client.customObjects.list()) {
      console.log(customObject.id);
      }
  • client.customObjects.create({ ...params }) -> CustomObject
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const customObject = await client.customObjects.create();

      console.log(customObject.id);
  • client.customObjects.retrieve(customObjectAPIName) -> CustomObject
  • client.customObjects.update(customObjectAPIName, { ...params }) -> CustomObject
  • client.customObjects.delete(customObjectAPIName) -> void

Fields​

Types Methods
  • client.customObjects.fields.list(customObjectAPIName) -> CustomObjectFieldsPageCursorURL
  • client.customObjects.fields.create(customObjectAPIName, { ...params }) -> CustomObjectField
  • client.customObjects.fields.retrieve(customObjectAPIName, fieldAPIName) -> CustomObjectField
  • client.customObjects.fields.update(customObjectAPIName, fieldAPIName, { ...params }) -> CustomObjectField
  • client.customObjects.fields.delete(customObjectAPIName, fieldAPIName) -> void

Records​

Types
  • CustomObjectDataRow
  • RecordCreateResponse
  • RecordQueryResponse
  • RecordUpdateResponse
  • RecordBulkCreateResponse
  • RecordBulkUpdateResponse
Methods
  • client.customObjects.records.list(customObjectAPIName) -> CustomObjectDataRowsPageCursorURL
  • client.customObjects.records.create(customObjectAPIName, { ...params }) -> RecordCreateResponse
  • client.customObjects.records.query(customObjectAPIName, { ...params }) -> RecordQueryResponse
  • client.customObjects.records.retrieve(customObjectAPIName, codrID) -> CustomObjectDataRow
  • client.customObjects.records.update(customObjectAPIName, codrID, { ...params }) -> RecordUpdateResponse
  • client.customObjects.records.delete(customObjectAPIName, codrID) -> void
  • client.customObjects.records.retrieveByExternalID(customObjectAPIName, externalID) -> CustomObjectDataRow
  • client.customObjects.records.bulkCreate(customObjectAPIName, { ...params }) -> RecordBulkCreateResponse
  • client.customObjects.records.bulkUpdate(customObjectAPIName, { ...params }) -> RecordBulkUpdateResponse
  • client.customObjects.records.bulkDelete(customObjectAPIName, { ...params }) -> void

Departments​

Types Methods
  • client.departments.list({ ...params }) -> DepartmentsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const department of client.departments.list()) {
      console.log(department.id);
      }
  • client.departments.create({ ...params }) -> Department
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const department = await client.departments.create({ name: 'name' });

      console.log(department.id);
  • client.departments.retrieve(id, { ...params }) -> DepartmentRetrieveResponse
  • client.departments.update(id, { ...params }) -> Department

EmploymentTypes​

Types Methods
  • client.employmentTypes.list({ ...params }) -> CompanyEmploymentTypesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const companyEmploymentType of client.employmentTypes.list()) {
      console.log(companyEmploymentType.id);
      }
  • client.employmentTypes.retrieve(id) -> EmploymentTypeRetrieveResponse

JobCodes​

Types Methods
  • client.jobCodes.list({ ...params }) -> JobCodesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const jobCode of client.jobCodes.list()) {
      console.log(jobCode.id);
      }
  • client.jobCodes.create({ ...params }) -> JobCode
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const jobCode = await client.jobCodes.create({
      job_dimension_id: 'job_dimension_id',
      name: 'name',
      });

      console.log(jobCode.id);
  • client.jobCodes.retrieve(id, { ...params }) -> JobCodeRetrieveResponse
  • client.jobCodes.update(id, { ...params }) -> JobCode
  • client.jobCodes.delete(id) -> void
  • client.jobCodes.listChangeLog(jobCodeID, { ...params }) -> AttributeChangeDetailsPageCursorURL

JobDimensions​

Types Methods
  • client.jobDimensions.list({ ...params }) -> JobDimensionsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const jobDimension of client.jobDimensions.list()) {
      console.log(jobDimension.id);
      }
  • client.jobDimensions.create({ ...params }) -> JobDimension
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const jobDimension = await client.jobDimensions.create({ name: 'name' });

      console.log(jobDimension.id);
  • client.jobDimensions.retrieve(id) -> JobDimensionRetrieveResponse
  • client.jobDimensions.update(id, { ...params }) -> JobDimension
  • client.jobDimensions.delete(id) -> void

JobRequisitions​

Types Methods
  • client.jobRequisitions.list({ ...params }) -> JobRequisitionsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const jobRequisition of client.jobRequisitions.list()) {
      console.log(jobRequisition.id);
      }

KioskBadges​

Types
  • TimeKioskBadge
  • KioskBadgeListResponse
  • KioskBadgeCreateResponse
  • KioskBadgeRetrieveResponse
  • KioskBadgeUpdateResponse
Methods
  • client.kioskBadges.list({ ...params }) -> KioskBadgeListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const kioskBadgeListResponse of client.kioskBadges.list()) {
      console.log(kioskBadgeListResponse.id);
      }
  • client.kioskBadges.create({ ...params }) -> KioskBadgeCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const kioskBadge = await client.kioskBadges.create({ badge_id: 'badge_id' });

      console.log(kioskBadge.id);
  • client.kioskBadges.retrieve(id, { ...params }) -> KioskBadgeRetrieveResponse
  • client.kioskBadges.update(id, { ...params }) -> KioskBadgeUpdateResponse
  • client.kioskBadges.delete(id) -> void

LeaveBalances​

Types Methods
  • client.leaveBalances.list({ ...params }) -> LeaveBalancesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const leaveBalance of client.leaveBalances.list()) {
      console.log(leaveBalance.id);
      }
  • client.leaveBalances.retrieve(id, { ...params }) -> LeaveBalanceRetrieveResponse

LeaveRequests​

Types
  • LeaveRequest
  • LeaveRequestListResponse
  • LeaveRequestCreateResponse
  • LeaveRequestRetrieveResponse
  • LeaveRequestUpdateResponse
Methods
  • client.leaveRequests.list({ ...params }) -> LeaveRequestListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const leaveRequestListResponse of client.leaveRequests.list()) {
      console.log(leaveRequestListResponse.id);
      }
  • client.leaveRequests.create({ ...params }) -> LeaveRequestCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const leaveRequest = await client.leaveRequests.create({
      end_date: 'end_date',
      start_date: 'start_date',
      status: 'PENDING',
      worker_id: 'worker_id',
      });

      console.log(leaveRequest.id);
  • client.leaveRequests.retrieve(id, { ...params }) -> LeaveRequestRetrieveResponse
  • client.leaveRequests.update(id, { ...params }) -> LeaveRequestUpdateResponse

LeaveTypes​

Types Methods
  • client.leaveTypes.list({ ...params }) -> LeaveTypesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const leaveType of client.leaveTypes.list()) {
      console.log(leaveType.id);
      }
  • client.leaveTypes.retrieve(id) -> LeaveTypeRetrieveResponse

LegalEntities​

Types Methods
  • client.legalEntities.list({ ...params }) -> LegalEntitiesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const legalEntity of client.legalEntities.list()) {
      console.log(legalEntity.id);
      }
  • client.legalEntities.retrieve(id, { ...params }) -> LegalEntityRetrieveResponse

Levels​

Types
  • Level
  • LevelRetrieveResponse
Methods
  • client.levels.list({ ...params }) -> LevelsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const level of client.levels.list()) {
      console.log(level.id);
      }
  • client.levels.create({ ...params }) -> Level
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const level = await client.levels.create({ name: 'name', track_id: 'track_id' });

      console.log(level.id);
  • client.levels.retrieve(id, { ...params }) -> LevelRetrieveResponse
  • client.levels.update(id, { ...params }) -> Level
  • client.levels.delete(id) -> void

ObjectCategories​

Types Methods
  • client.objectCategories.list() -> ObjectCategoriesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const objectCategory of client.objectCategories.list()) {
      console.log(objectCategory.id);
      }
  • client.objectCategories.create({ ...params }) -> ObjectCategory
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const objectCategory = await client.objectCategories.create();

      console.log(objectCategory.id);
  • client.objectCategories.retrieve(id) -> ObjectCategory
  • client.objectCategories.update(id, { ...params }) -> ObjectCategory
  • client.objectCategories.delete(id) -> void

ShiftInputs​

Types
  • ShiftInput
  • ShiftInputListResponse
  • ShiftInputCreateResponse
  • ShiftInputRetrieveResponse
  • ShiftInputUpdateResponse
Methods
  • client.shiftInputs.list({ ...params }) -> ShiftInputListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const shiftInputListResponse of client.shiftInputs.list()) {
      console.log(shiftInputListResponse.id);
      }
  • client.shiftInputs.create({ ...params }) -> ShiftInputCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const shiftInput = await client.shiftInputs.create({
      country_code: 'country_code',
      name: 'name',
      prompt: 'prompt',
      type: 'type',
      });

      console.log(shiftInput.id);
  • client.shiftInputs.retrieve(id, { ...params }) -> ShiftInputRetrieveResponse
  • client.shiftInputs.update(id, { ...params }) -> ShiftInputUpdateResponse
  • client.shiftInputs.delete(id) -> void

SSOMe​

Types Methods
  • client.ssoMe.list({ ...params }) -> SSOMe
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const ssoMe = await client.ssoMe.list();

      console.log(ssoMe.id);

Supergroups​

Types Methods
  • client.supergroups.list({ ...params }) -> SupergroupsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const supergroup of client.supergroups.list()) {
      console.log(supergroup.id);
      }
  • client.supergroups.retrieve(id) -> SupergroupRetrieveResponse

Members​

Methods
  • client.supergroups.members.list(groupID, { ...params }) -> GroupMembersPageCursorURL

InclusionMembers​

Types
  • InclusionMemberUpdateResponse
Methods
  • client.supergroups.inclusionMembers.list(groupID, { ...params }) -> GroupMembersPageCursorURL
  • client.supergroups.inclusionMembers.update(groupID, { ...params }) -> InclusionMemberUpdateResponse

ExclusionMembers​

Types
  • ExclusionMemberUpdateResponse
Methods
  • client.supergroups.exclusionMembers.list(groupID, { ...params }) -> GroupMembersPageCursorURL
  • client.supergroups.exclusionMembers.update(groupID, { ...params }) -> ExclusionMemberUpdateResponse

Teams​

Types
  • Team
  • TeamRetrieveResponse
Methods
  • client.teams.list({ ...params }) -> TeamsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const team of client.teams.list()) {
      console.log(team.id);
      }
  • client.teams.create({ ...params }) -> Team
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const team = await client.teams.create({ name: 'name' });

      console.log(team.id);
  • client.teams.retrieve(id, { ...params }) -> TeamRetrieveResponse
  • client.teams.update(id, { ...params }) -> Team
  • client.teams.delete(id) -> void

TimeCards​

Types Methods
  • client.timeCards.list({ ...params }) -> TimeCardsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const timeCard of client.timeCards.list()) {
      console.log(timeCard.id);
      }
  • client.timeCards.retrieve(id, { ...params }) -> TimeCardRetrieveResponse

TimeEntries​

Types
  • TimeEntry
  • TimeEntryListResponse
  • TimeEntryCreateResponse
  • TimeEntryRetrieveResponse
  • TimeEntryUpdateResponse
Methods
  • client.timeEntries.list({ ...params }) -> TimeEntryListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const timeEntryListResponse of client.timeEntries.list()) {
      console.log(timeEntryListResponse.id);
      }
  • client.timeEntries.create({ ...params }) -> TimeEntryCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const timeEntry = await client.timeEntries.create({ worker_id: 'worker_id' });

      console.log(timeEntry.id);
  • client.timeEntries.retrieve(id, { ...params }) -> TimeEntryRetrieveResponse
  • client.timeEntries.update(id, { ...params }) -> TimeEntryUpdateResponse
  • client.timeEntries.delete(id) -> void

Tracks​

Types
  • Track
  • TrackRetrieveResponse
Methods
  • client.tracks.list({ ...params }) -> TracksPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const track of client.tracks.list()) {
      console.log(track.id);
      }
  • client.tracks.create({ ...params }) -> Track
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const track = await client.tracks.create({ name: 'name' });

      console.log(track.id);
  • client.tracks.retrieve(id) -> TrackRetrieveResponse
  • client.tracks.update(id, { ...params }) -> Track
  • client.tracks.delete(id) -> void

Users​

Types
  • User
  • UserRetrieveResponse
Methods
  • client.users.list({ ...params }) -> UsersPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const user of client.users.list()) {
      console.log(user.id);
      }
  • client.users.retrieve(id) -> UserRetrieveResponse

WorkLocations​

Types Methods
  • client.workLocations.list({ ...params }) -> WorkLocationsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const workLocation of client.workLocations.list()) {
      console.log(workLocation.id);
      }
  • client.workLocations.create({ ...params }) -> WorkLocation
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const workLocation = await client.workLocations.create({
      address: {},
      name: 'name',
      });

      console.log(workLocation.id);
  • client.workLocations.retrieve(id) -> WorkLocationRetrieveResponse
  • client.workLocations.update(id, { ...params }) -> WorkLocation
  • client.workLocations.delete(id) -> void

Workers​

Types
  • Worker
  • WorkerRetrieveResponse
Methods
  • client.workers.list({ ...params }) -> WorkersPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const worker of client.workers.list()) {
      console.log(worker.id);
      }
  • client.workers.retrieve(id, { ...params }) -> WorkerRetrieveResponse

BusinessPartners​

Types Methods
  • client.businessPartners.list({ ...params }) -> BusinessPartnersPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const businessPartner of client.businessPartners.list()) {
      console.log(businessPartner.id);
      }
  • client.businessPartners.create({ ...params }) -> BusinessPartner
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const businessPartner = await client.businessPartners.create({
      business_partner_group_id: 'business_partner_group_id',
      worker_id: 'worker_id',
      });

      console.log(businessPartner.id);
  • client.businessPartners.retrieve(id, { ...params }) -> BusinessPartnerRetrieveResponse
  • client.businessPartners.delete(id) -> void

BusinessPartnerGroups​

Types Methods
  • client.businessPartnerGroups.list({ ...params }) -> BusinessPartnerGroupsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const businessPartnerGroup of client.businessPartnerGroups.list()) {
      console.log(businessPartnerGroup.id);
      }
  • client.businessPartnerGroups.create({ ...params }) -> BusinessPartnerGroup
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const businessPartnerGroup = await client.businessPartnerGroups.create({ name: 'name' });

      console.log(businessPartnerGroup.id);
  • client.businessPartnerGroups.retrieve(id, { ...params }) -> BusinessPartnerGroupRetrieveResponse
  • client.businessPartnerGroups.delete(id) -> void

Functions​

Types
  • Function
  • FunctionCreateDevBundleResponse
Methods
  • client.functions.list({ ...params }) -> FunctionsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const _function of client.functions.list()) {
      console.log(_function.id);
      }
  • client.functions.create({ ...params }) -> Function
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const _function = await client.functions.create();

      console.log(_function.id);
  • client.functions.retrieve(functionAPIName) -> Function
  • client.functions.update(functionAPIName, { ...params }) -> Function
  • client.functions.createDevBundle(functionAPIName) -> FunctionCreateDevBundleResponse

Deployments​

Types Methods
  • client.functions.deployments.list(functionAPIName) -> DeploymentListResponse
  • client.functions.deployments.create(functionAPIName, { ...params }) -> FunctionDeployment
  • client.functions.deployments.retrieve(deploymentID, { ...params }) -> FunctionDeployment
  • client.functions.deployments.listLogs(deploymentID, { ...params }) -> DeploymentListLogsResponse

Executions​

Types Methods
  • client.functions.executions.list(functionAPIName, { ...params }) -> FunctionExecutionsPageCursorURL
  • client.functions.executions.create(functionAPIName, { ...params }) -> FunctionExecution
  • client.functions.executions.retrieve(executionID, { ...params }) -> FunctionExecution
  • client.functions.executions.listLogs(executionID, { ...params }) -> ExecutionListLogsResponse

JobAssignments​

Types Methods
  • client.jobAssignments.list({ ...params }) -> JobAssignmentsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const jobAssignment of client.jobAssignments.list()) {
      console.log(jobAssignment.id);
      }
  • client.jobAssignments.create({ ...params }) -> JobAssignment
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const jobAssignment = await client.jobAssignments.create({
      job_code_id: 'job_code_id',
      worker_id: 'worker_id',
      });

      console.log(jobAssignment.id);
  • client.jobAssignments.retrieve(id, { ...params }) -> JobAssignmentRetrieveResponse
  • client.jobAssignments.update(id, { ...params }) -> JobAssignment
  • client.jobAssignments.delete(id, { ...params }) -> void
  • client.jobAssignments.listChangeLog(jobAssignmentID, { ...params }) -> AttributeChangeDetailsPageCursorURL

JobPayRateExceptions​

Types Methods
  • client.jobPayRateExceptions.list({ ...params }) -> JobPayRateExceptionsPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const jobPayRateException of client.jobPayRateExceptions.list()) {
      console.log(jobPayRateException.id);
      }
  • client.jobPayRateExceptions.retrieve(id, { ...params }) -> JobPayRateExceptionRetrieveResponse
  • client.jobPayRateExceptions.listChangeLog(jobPayRateExceptionID, { ...params }) -> AttributeChangeDetailsPageCursorURL

Agents​

Types
  • AgentListResponse
  • AgentCreateResponse
  • AgentRetrieveResponse
  • AgentUpdateResponse
Methods
  • client.agents.list({ ...params }) -> AgentListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const agentListResponse of client.agents.list()) {
      console.log(agentListResponse.id);
      }
  • client.agents.create({ ...params }) -> AgentCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const agent = await client.agents.create({ api_name: 'api_name', name: 'name' });

      console.log(agent.id);
  • client.agents.retrieve(agentID) -> AgentRetrieveResponse
  • client.agents.update(agentID, { ...params }) -> AgentUpdateResponse
  • client.agents.delete(agentID) -> void

SourceRevisions​

Types
  • SourceRevisionListResponse
  • SourceRevisionCreateResponse
  • SourceRevisionRetrieveResponse
Methods
  • client.agents.sourceRevisions.list(agentID, { ...params }) -> SourceRevisionListResponsesPageCursorURL
  • client.agents.sourceRevisions.create(agentID, { ...params }) -> SourceRevisionCreateResponse
  • client.agents.sourceRevisions.retrieve(agentID, sourceRevisionID) -> SourceRevisionRetrieveResponse

Deployments​

Types
  • DeploymentListResponse
  • DeploymentCreateResponse
  • DeploymentRetrieveResponse
Methods
  • client.agents.deployments.list(agentID, { ...params }) -> DeploymentListResponsesPageCursorURL
  • client.agents.deployments.create(agentID, { ...params }) -> DeploymentCreateResponse
  • client.agents.deployments.retrieve(agentID, deploymentID) -> DeploymentRetrieveResponse

Sessions​

Types
  • SessionCreateResponse
  • SessionListResponse
  • SessionRetrieveResponse
Methods
  • client.agents.sessions.create({ ...params }) -> SessionCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const session = await client.agents.sessions.create({ agent_id: 'agent_id', prompt: 'prompt' });

      console.log(session.id);
  • client.agents.sessions.list(agentID, { ...params }) -> SessionListResponsesPageCursorURL
  • client.agents.sessions.retrieve(sessionID) -> SessionRetrieveResponse

Messages​

Types
  • MessageCreateResponse
Methods
  • client.agents.sessions.messages.create(sessionID, { ...params }) -> MessageCreateResponse

Events​

Types
  • EventRetrieveResponse
Methods
  • client.agents.sessions.events.retrieve(sessionID, { ...params }) -> EventRetrieveResponse

AppUsers​

Types
  • AppUserListResponse
  • AppUserRetrieveResponse
Methods
  • client.appUsers.list({ ...params }) -> AppUserListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const appUserListResponse of client.appUsers.list()) {
      console.log(appUserListResponse.id);
      }
  • client.appUsers.retrieve(id, { ...params }) -> AppUserRetrieveResponse

BreakPolicies​

Types
  • BreakPolicyListResponse
  • BreakPolicyRetrieveResponse
Methods
  • client.breakPolicies.list({ ...params }) -> BreakPolicyListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const breakPolicyListResponse of client.breakPolicies.list()) {
      console.log(breakPolicyListResponse.id);
      }
  • client.breakPolicies.retrieve(id) -> BreakPolicyRetrieveResponse

BreakTypes​

Types
  • BreakTypeListResponse
  • BreakTypeRetrieveResponse
Methods
  • client.breakTypes.list({ ...params }) -> BreakTypeListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const breakTypeListResponse of client.breakTypes.list()) {
      console.log(breakTypeListResponse.id);
      }
  • client.breakTypes.retrieve(id, { ...params }) -> BreakTypeRetrieveResponse

BusinessStructurePaths​

Types
  • BusinessStructurePathListResponse
  • BusinessStructurePathRetrieveResponse
Methods
  • client.businessStructurePaths.list({ ...params }) -> BusinessStructurePathListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const businessStructurePathListResponse of client.businessStructurePaths.list()) {
      console.log(businessStructurePathListResponse.id);
      }
  • client.businessStructurePaths.retrieve(id, { ...params }) -> BusinessStructurePathRetrieveResponse

Candidates​

Types
  • CandidateListResponse
Methods
  • client.candidates.list({ ...params }) -> CandidateListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const candidateListResponse of client.candidates.list()) {
      console.log(candidateListResponse.id);
      }

CandidateApplications​

Types
  • CandidateApplicationListResponse
Methods
  • client.candidateApplications.list({ ...params }) -> CandidateApplicationListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const candidateApplicationListResponse of client.candidateApplications.list({
      candidate_id: 'candidate_id',
      })) {
      console.log(candidateApplicationListResponse.id);
      }

CompanyLegalEntities​

Types
  • CompanyLegalEntityListResponse
  • CompanyLegalEntityRetrieveResponse
Methods
  • client.companyLegalEntities.list({ ...params }) -> CompanyLegalEntityListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const companyLegalEntityListResponse of client.companyLegalEntities.list()) {
      console.log(companyLegalEntityListResponse.id);
      }
  • client.companyLegalEntities.retrieve(id) -> CompanyLegalEntityRetrieveResponse

CompanyLegalEntityWorkers​

Types
  • CompanyLegalEntityWorkerListResponse
  • CompanyLegalEntityWorkerRetrieveResponse
Methods
  • client.companyLegalEntityWorkers.list({ ...params }) -> CompanyLegalEntityWorkerListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const companyLegalEntityWorkerListResponse of client.companyLegalEntityWorkers.list()) {
      console.log(companyLegalEntityWorkerListResponse.id);
      }
  • client.companyLegalEntityWorkers.retrieve(id) -> CompanyLegalEntityWorkerRetrieveResponse

CompensationBandsDetails​

Types
  • CompensationBandsDetailListResponse
  • CompensationBandsDetailRetrieveResponse
Methods
  • client.compensationBandsDetails.list({ ...params }) -> CompensationBandsDetailListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const compensationBandsDetailListResponse of client.compensationBandsDetails.list()) {
      console.log(compensationBandsDetailListResponse.id);
      }
  • client.compensationBandsDetails.retrieve(id, { ...params }) -> CompensationBandsDetailRetrieveResponse

CustomApps​

Types
  • CustomAppListResponse
  • CustomAppCreateResponse
  • CustomAppRetrieveResponse
  • CustomAppUpdateResponse
Methods
  • client.customApps.list() -> CustomAppListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const customAppListResponse of client.customApps.list()) {
      console.log(customAppListResponse.id);
      }
  • client.customApps.create({ ...params }) -> CustomAppCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const customApp = await client.customApps.create({ api_name: 'api_name', name: 'name' });

      console.log(customApp.id);
  • client.customApps.retrieve(id) -> CustomAppRetrieveResponse
  • client.customApps.update(id, { ...params }) -> CustomAppUpdateResponse
  • client.customApps.delete(id) -> void

CustomFields​

Types
  • CustomFieldListResponse
Methods
  • client.customFields.list({ ...params }) -> CustomFieldListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const customFieldListResponse of client.customFields.list()) {
      console.log(customFieldListResponse.id);
      }

CustomPages​

Types
  • CustomPageListResponse
  • CustomPageCreateResponse
  • CustomPageRetrieveResponse
  • CustomPageUpdateResponse
Methods
  • client.customPages.list() -> CustomPageListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const customPageListResponse of client.customPages.list()) {
      console.log(customPageListResponse.id);
      }
  • client.customPages.create({ ...params }) -> CustomPageCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const customPage = await client.customPages.create();

      console.log(customPage.id);
  • client.customPages.retrieve(id) -> CustomPageRetrieveResponse
  • client.customPages.update(id, { ...params }) -> CustomPageUpdateResponse
  • client.customPages.delete(id) -> void

CustomSettings​

Types
  • CustomSettingListResponse
  • CustomSettingCreateResponse
  • CustomSettingRetrieveResponse
  • CustomSettingUpdateResponse
Methods
  • client.customSettings.list({ ...params }) -> CustomSettingListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const customSettingListResponse of client.customSettings.list()) {
      console.log(customSettingListResponse.id);
      }
  • client.customSettings.create({ ...params }) -> CustomSettingCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const customSetting = await client.customSettings.create();

      console.log(customSetting.id);
  • client.customSettings.retrieve(id) -> CustomSettingRetrieveResponse
  • client.customSettings.update(id, { ...params }) -> CustomSettingUpdateResponse
  • client.customSettings.delete(id) -> void

Devices​

Types
  • DeviceListResponse
  • DeviceRetrieveResponse
Methods
  • client.devices.list({ ...params }) -> DeviceListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const deviceListResponse of client.devices.list()) {
      console.log(deviceListResponse.id);
      }
  • client.devices.retrieve(id, { ...params }) -> DeviceRetrieveResponse

DeviceOrders​

Types
  • DeviceOrderListResponse
  • DeviceOrderRetrieveResponse
Methods
  • client.deviceOrders.list({ ...params }) -> DeviceOrderListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const deviceOrderListResponse of client.deviceOrders.list()) {
      console.log(deviceOrderListResponse.id);
      }
  • client.deviceOrders.retrieve(id, { ...params }) -> DeviceOrderRetrieveResponse

DraftHires​

Types
  • DraftHireCreateResponse
Methods
  • client.draftHires.create({ ...params }) -> DraftHireCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const draftHire = await client.draftHires.create({
      draft_hires: [
      {
      employment_info: { employment_type_id: 'employment_type_id', title: 'title' },
      personal_info: {
      invite_email: 'invite_email',
      name: {},
      },
      work_location_info: {},
      },
      ],
      });

      console.log(draftHire.invalid_items);

EarningTypes​

Types
  • EarningTypeListResponse
Methods
  • client.earningTypes.list() -> EarningTypeListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const earningTypeListResponse of client.earningTypes.list()) {
      console.log(earningTypeListResponse.id);
      }

EarningsInputs​

Types
  • EarningsInputListResponse
  • EarningsInputCreateResponse
Methods
  • client.earningsInputs.list() -> EarningsInputListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const earningsInputListResponse of client.earningsInputs.list()) {
      console.log(earningsInputListResponse.id);
      }
  • client.earningsInputs.create({ ...params }) -> EarningsInputCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const earningsInput = await client.earningsInputs.create();

      console.log(earningsInput.id);
  • client.earningsInputs.delete(id) -> void

EmployeeDocuments​

Types
  • EmployeeDocumentCreateResponse
Methods
  • client.employeeDocuments.create({ ...params }) -> EmployeeDocumentCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const employeeDocument = await client.employeeDocuments.create({
      items: [{ documents: [{ file_id: 'file_id' }], worker_id: 'worker_id' }],
      });

      console.log(employeeDocument.id);

Entitlements​

Types
  • EntitlementListResponse
Methods
  • client.entitlements.list() -> EntitlementListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const entitlementListResponse of client.entitlements.list()) {
      console.log(entitlementListResponse.id);
      }

Files​

Types
  • FileRetrieveResponse
  • FileCreateResponse
Methods
  • client.files.retrieve(id) -> FileRetrieveResponse
  • client.files.create({ ...params }) -> FileCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const file = await client.files.create({ status: 'status' });

      console.log(file.id);

HeadcountPositions​

Types
  • HeadcountPositionListResponse
  • HeadcountPositionRetrieveResponse
Methods
  • client.headcountPositions.list({ ...params }) -> HeadcountPositionListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const headcountPositionListResponse of client.headcountPositions.list()) {
      console.log(headcountPositionListResponse.id);
      }
  • client.headcountPositions.retrieve(id, { ...params }) -> HeadcountPositionRetrieveResponse

HeadcountPriorities​

Types
  • HeadcountPriorityListResponse
  • HeadcountPriorityRetrieveResponse
Methods
  • client.headcountPriorities.list({ ...params }) -> HeadcountPriorityListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const headcountPriorityListResponse of client.headcountPriorities.list()) {
      console.log(headcountPriorityListResponse.id);
      }
  • client.headcountPriorities.retrieve(id) -> HeadcountPriorityRetrieveResponse

JobFunctions​

Types
  • JobFunctionListResponse
  • JobFunctionRetrieveResponse
Methods
  • client.jobFunctions.list({ ...params }) -> JobFunctionListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const jobFunctionListResponse of client.jobFunctions.list()) {
      console.log(jobFunctionListResponse.id);
      }
  • client.jobFunctions.retrieve(id) -> JobFunctionRetrieveResponse

JobRequisitionsWrite​

Types
  • JobRequisitionsWriteCreateResponse
Methods
  • client.jobRequisitionsWrite.create({ ...params }) -> JobRequisitionsWriteCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const jobRequisitionsWrite = await client.jobRequisitionsWrite.create({ name: 'name' });

      console.log(jobRequisitionsWrite.id);

LeaveAccruals​

Types
  • LeaveAccrualListResponse
  • LeaveAccrualCreateResponse
  • LeaveAccrualRetrieveResponse
Methods
  • client.leaveAccruals.list({ ...params }) -> LeaveAccrualListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const leaveAccrualListResponse of client.leaveAccruals.list()) {
      console.log(leaveAccrualListResponse.id);
      }
  • client.leaveAccruals.create({ ...params }) -> LeaveAccrualCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const leaveAccrual = await client.leaveAccruals.create({
      accrual_date: 'accrual_date',
      grantor_id: 'grantor_id',
      leave_type_id: 'leave_type_id',
      worker_id: 'worker_id',
      });

      console.log(leaveAccrual.id);
  • client.leaveAccruals.retrieve(id, { ...params }) -> LeaveAccrualRetrieveResponse

LeaveProgramEvaluations​

Types
  • LeaveProgramEvaluationCreateResponse
Methods
  • client.leaveProgramEvaluations.create({ ...params }) -> LeaveProgramEvaluationCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const leaveProgramEvaluation = await client.leaveProgramEvaluations.create({
      claim_start_date: 'claim_start_date',
      leave_reason: 'BONDING',
      role_id: 'role_id',
      });

      console.log(leaveProgramEvaluation.missing_evidence);

LocationFactors​

Types
  • LocationFactorListResponse
  • LocationFactorRetrieveResponse
Methods
  • client.locationFactors.list({ ...params }) -> LocationFactorListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const locationFactorListResponse of client.locationFactors.list()) {
      console.log(locationFactorListResponse.id);
      }
  • client.locationFactors.retrieve(id) -> LocationFactorRetrieveResponse

Packages​

Types
  • PackageListResponse
  • PackageCreateResponse
  • PackageRetrieveResponse
  • PackageUpdateResponse
Methods
  • client.packages.list({ ...params }) -> PackageListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const packageListResponse of client.packages.list()) {
      console.log(packageListResponse.id);
      }
  • client.packages.create({ ...params }) -> PackageCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const _package = await client.packages.create({
      package_display_name: 'package_display_name',
      package_key: 'package_key',
      package_type: 'package_type',
      });

      console.log(_package.id);
  • client.packages.retrieve(id) -> PackageRetrieveResponse
  • client.packages.update(id, { ...params }) -> PackageUpdateResponse
  • client.packages.delete(id) -> void

Versions​

Types
  • VersionCreateResponse
Methods
  • client.packages.versions.create(packageKey, { ...params }) -> VersionCreateResponse

PayrollRuns​

Types
  • PayrollRunListResponse
  • PayrollRunRetrieveResponse
Methods
  • client.payrollRuns.list({ ...params }) -> PayrollRunListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const payrollRunListResponse of client.payrollRuns.list()) {
      console.log(payrollRunListResponse.id);
      }
  • client.payrollRuns.retrieve(id) -> PayrollRunRetrieveResponse

WorkerPayrollRecords​

Types
  • WorkerPayrollRecordListResponse
Methods
  • client.payrollRuns.workerPayrollRecords.list(runID, { ...params }) -> WorkerPayrollRecordListResponsesPageCursorURL

PlatformCapabilities​

Types
  • PlatformCapabilityListResponse
Methods
  • client.platformCapabilities.list() -> PlatformCapabilityListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const platformCapabilityListResponse of client.platformCapabilities.list()) {
      console.log(platformCapabilityListResponse.version);
      }

Reports​

Types
  • ReportRetrieveResponse
Methods
  • client.reports.retrieve(id) -> ReportRetrieveResponse

AvailableFilters​

Types
  • AvailableFilterRetrieveResponse
Methods
  • client.reports.availableFilters.retrieve(reportID) -> AvailableFilterRetrieveResponse

ReportRuns​

Types
  • ReportRunCreateResponse
  • ReportRunRetrieveResponse
Methods
  • client.reportRuns.create({ ...params }) -> ReportRunCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const reportRun = await client.reportRuns.create({ report_id: 'report_id' });

      console.log(reportRun.id);
  • client.reportRuns.retrieve(runID) -> ReportRunRetrieveResponse

Schedules​

Types
  • ScheduleListResponse
  • ScheduleCreateResponse
  • ScheduleRetrieveResponse
  • ScheduleUpdateResponse
Methods
  • client.schedules.list({ ...params }) -> ScheduleListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const scheduleListResponse of client.schedules.list()) {
      console.log(scheduleListResponse.id);
      }
  • client.schedules.create({ ...params }) -> ScheduleCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const schedule = await client.schedules.create();

      console.log(schedule.id);
  • client.schedules.retrieve(id, { ...params }) -> ScheduleRetrieveResponse
  • client.schedules.update(id, { ...params }) -> ScheduleUpdateResponse

ScheduledJobAssignments​

Types
  • ScheduledJobAssignmentListResponse
  • ScheduledJobAssignmentRetrieveResponse
Methods
  • client.scheduledJobAssignments.list({ ...params }) -> ScheduledJobAssignmentListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const scheduledJobAssignmentListResponse of client.scheduledJobAssignments.list()) {
      console.log(scheduledJobAssignmentListResponse.id);
      }
  • client.scheduledJobAssignments.retrieve(id) -> ScheduledJobAssignmentRetrieveResponse
  • client.scheduledJobAssignments.delete(id) -> void

Shiftassignments​

Types
  • ShiftassignmentListResponse
  • ShiftassignmentCreateResponse
  • ShiftassignmentRetrieveResponse
  • ShiftassignmentUpdateResponse
Methods
  • client.shiftassignments.list({ ...params }) -> ShiftassignmentListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const shiftassignmentListResponse of client.shiftassignments.list()) {
      console.log(shiftassignmentListResponse.id);
      }
  • client.shiftassignments.create({ ...params }) -> ShiftassignmentCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const shiftassignment = await client.shiftassignments.create({
      is_published: true,
      schedule_id: 'schedule_id',
      shift_data: { end_time: 'end_time', start_time: 'start_time' },
      worker_id: 'worker_id',
      });

      console.log(shiftassignment.id);
  • client.shiftassignments.retrieve(id, { ...params }) -> ShiftassignmentRetrieveResponse
  • client.shiftassignments.update(id, { ...params }) -> ShiftassignmentUpdateResponse

Sites​

Types
  • SiteListResponse
  • SiteCreateResponse
  • SiteRetrieveResponse
  • SiteUpdateResponse
  • SiteUploadBatchesPresignResponse
  • SiteFilesResponse
  • SiteFileOperationsResponse
Methods
  • client.sites.list() -> SiteListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const siteListResponse of client.sites.list()) {
      console.log(siteListResponse.id);
      }
  • client.sites.create({ ...params }) -> SiteCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const site = await client.sites.create({
      api_name: 'my_portal',
      file_id: 'file_id_1',
      name: 'My Portal',
      entry_path: 'index.html',
      });

      console.log(site.id);
  • client.sites.retrieve(apiName) -> SiteRetrieveResponse
  • client.sites.update(apiName, { ...params }) -> SiteUpdateResponse
  • client.sites.delete(apiName) -> void
  • client.sites.uploadBatchesPresign({ ...params }) -> SiteUploadBatchesPresignResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const response = await client.sites.uploadBatchesPresign({
      file_intents: [{ client_ref: 'index', file_name: 'index.html' }],
      });

      console.log(response.upload_batch_id);
  • client.sites.files(apiName, { ...params }) -> SiteFilesResponse
  • client.sites.fileOperations(apiName, { ...params }) -> SiteFileOperationsResponse

SoftwareDeployments​

Types
  • SoftwareDeploymentListResponse
  • SoftwareDeploymentCreateResponse
  • SoftwareDeploymentRetrieveResponse
  • SoftwareDeploymentUpdateResponse
Methods
  • client.softwareDeployments.list({ ...params }) -> SoftwareDeploymentListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const softwareDeploymentListResponse of client.softwareDeployments.list()) {
      console.log(softwareDeploymentListResponse.id);
      }
  • client.softwareDeployments.create({ ...params }) -> SoftwareDeploymentCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const softwareDeployment = await client.softwareDeployments.create({ software_id: 'software_id' });

      console.log(softwareDeployment.id);
  • client.softwareDeployments.retrieve(id, { ...params }) -> SoftwareDeploymentRetrieveResponse
  • client.softwareDeployments.update(id, { ...params }) -> SoftwareDeploymentUpdateResponse
  • client.softwareDeployments.delete(id) -> void

Titles​

Types
  • TitleListResponse
  • TitleCreateResponse
  • TitleRetrieveResponse
  • TitleUpdateResponse
Methods
  • client.titles.list({ ...params }) -> TitleListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const titleListResponse of client.titles.list()) {
      console.log(titleListResponse.id);
      }
  • client.titles.create({ ...params }) -> TitleCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const title = await client.titles.create({ name: 'name' });

      console.log(title.id);
  • client.titles.retrieve(id) -> TitleRetrieveResponse
  • client.titles.update(id, { ...params }) -> TitleUpdateResponse
  • client.titles.delete(id) -> void

Unassignedshifts​

Types
  • UnassignedshiftListResponse
  • UnassignedshiftCreateResponse
  • UnassignedshiftRetrieveResponse
  • UnassignedshiftUpdateResponse
Methods
  • client.unassignedshifts.list({ ...params }) -> UnassignedshiftListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const unassignedshiftListResponse of client.unassignedshifts.list()) {
      console.log(unassignedshiftListResponse.id);
      }
  • client.unassignedshifts.create({ ...params }) -> UnassignedshiftCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const unassignedshift = await client.unassignedshifts.create({
      is_published: true,
      schedule_id: 'schedule_id',
      shift_data: { end_time: 'end_time', start_time: 'start_time' },
      target_count: 0,
      });

      console.log(unassignedshift.id);
  • client.unassignedshifts.retrieve(id, { ...params }) -> UnassignedshiftRetrieveResponse
  • client.unassignedshifts.update(id, { ...params }) -> UnassignedshiftUpdateResponse

WorkerChanges​

Types
  • WorkerChangeListResponse
  • WorkerChangeRetrieveResponse
Methods
  • client.workerChanges.list({ ...params }) -> WorkerChangeListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const workerChangeListResponse of client.workerChanges.list()) {
      console.log(workerChangeListResponse.id);
      }
  • client.workerChanges.retrieve(id, { ...params }) -> WorkerChangeRetrieveResponse

WorkerChangeFields​

Types
  • WorkerChangeFieldListResponse
Methods
  • client.workerChangeFields.list() -> WorkerChangeFieldListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const workerChangeFieldListResponse of client.workerChangeFields.list()) {
      console.log(workerChangeFieldListResponse.category);
      }

WorkerTimeSplits​

Types
  • WorkerTimeSplitListResponse
  • WorkerTimeSplitCreateResponse
  • WorkerTimeSplitRetrieveResponse
  • WorkerTimeSplitUpdateResponse
Methods
  • client.workerTimeSplits.list({ ...params }) -> WorkerTimeSplitListResponsesPageCursorURL
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      // Automatically fetches more pages as needed.
      for await (const workerTimeSplitListResponse of client.workerTimeSplits.list()) {
      console.log(workerTimeSplitListResponse.id);
      }
  • client.workerTimeSplits.create({ ...params }) -> WorkerTimeSplitCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const workerTimeSplit = await client.workerTimeSplits.create({ worker_id: 'worker_id' });

      console.log(workerTimeSplit.id);
  • client.workerTimeSplits.retrieve(id, { ...params }) -> WorkerTimeSplitRetrieveResponse
  • client.workerTimeSplits.update(id, { ...params }) -> WorkerTimeSplitUpdateResponse
  • client.workerTimeSplits.delete(id) -> void

WorkflowActionExecutions​

Types
  • WorkflowActionExecutionCreateResponse
Methods
  • client.workflowActionExecutions.create({ ...params }) -> WorkflowActionExecutionCreateResponse
    • Example:
      import RipplingSDK from '@rippling/rippling-sdk';

      const client = new RipplingSDK({
      bearerToken: process.env['BEARER_TOKEN_PRODUCTION'], // This is the default and can be omitted
      });

      const workflowActionExecution = await client.workflowActionExecutions.create({
      action_type: 'run_query',
      payload: { query: 'query' },
      workflow_definition_id: 'workflow_definition_id',
      });

      console.log(workflowActionExecution.result);

ShiftAssignments​

Types
  • ShiftAssignmentUpdateCustomfieldsResponse
Methods
  • client.shiftAssignments.updateCustomfields(id, { ...params }) -> ShiftAssignmentUpdateCustomfieldsResponse

UnassignedShifts​

Types
  • UnassignedShiftUpdateCustomfieldsResponse
  • UnassignedShiftAssignResponse
Methods
  • client.unassignedShifts.updateCustomfields(id, { ...params }) -> UnassignedShiftUpdateCustomfieldsResponse
  • client.unassignedShifts.assign(id, { ...params }) -> UnassignedShiftAssignResponse