
Product
Announcing Socket Certified Patches: One-Click Fixes for Vulnerable Dependencies
A safer, faster way to eliminate vulnerabilities without updating dependencies
@speakeasy-sdks/gusto
Advanced tools
Gusto's people platform helps growing businesses onboard, pay, in
Gusto's people platform helps growing businesses onboard, pay, insure, and support their hardworking teams with payroll, benefits, and more.
npm add @speakeasy-sdks/gusto
yarn add @speakeasy-sdks/gusto
To get started, fill out a Production Pre-Approval form, sign up for a Developer Portal account and onboard to our sandbox environment.
Once you’ve created an account and completed your Organization setup, you will have access to your unique API token from the Organizations tab. This is used for provisioning new Gusto accounts.
Next, create an application to obtain API credentials - or “keys” - to access our demo environment. To create an application, you will need to provide at least one(1) redirect URI. You can enter multiple redirects for a single application - please do this instead of creating multiple applications for each one. OAuth2 does not support wildcard URIs or URIs with fragments (e.g #).
The application will generate a unique client_id and secret to be used for authentication.
Then create a demo company so that you can explore our product and successfully connect your application to Gusto via OAuth2 to begin making calls to the API. Demo companies are automatically generated with company info, employees, and previous payrolls so you can begin testing right away. The Authentication Example has everything you need to get started.
Once you have your API Token, client_id, secret, and a demo company, you’re ready to begin building your integration. Check out this short video tutorial for an introduction on testing the Gusto API (in demo).
import {
GetV1CompaniesCompanyIdBankAccountsRequest,
GetV1CompaniesCompanyIdBankAccountsResponse
} from "@speakeasy-sdks/gusto/dist/sdk/models/operations";
import { AxiosError } from "axios";
import { Gusto } from "@speakeasy-sdks/gusto";
const sdk = new Gusto({
security: {
authorization: "Bearer YOUR_BEARER_TOKEN_HERE",
},
});
const req: GetV1CompaniesCompanyIdBankAccountsRequest = {
companyId: "corrupti",
};
sdk.bankAccounts.getV1CompaniesCompanyIdBankAccounts(req).then((res: GetV1CompaniesCompanyIdBankAccountsResponse | AxiosError) => {
// handle response
});
getV1CompaniesCompanyIdBankAccounts - Get all company bank accountspostV1CompaniesCompanyIdBankAccounts - Create a company bank accountpostV1PlaidProcessorToken - Create a bank account from a plaid processor tokenputV1CompaniesCompanyIdBankAccountsVerify - Verify a company bank accountgetV1Companies - Get a companygetV1CompaniesCompanyIdAdmins - Get all the admins at a companygetV1CompaniesCompanyIdCustomFields - Get the custom fields of a companygetV1CompanyFinishOnboarding - Finish company onboardinggetV1CompanyOnboardingStatus - Get the company's onboarding statuspostPartnerManagedCompaniesCompanyUuidAcceptTermsOfService - Accept terms of service for a company userpostPartnerManagedCompaniesCompanyUuidRetrieveTermsOfService - Retrieve terms of service status for a company userpostV1CompaniesCompanyIdAdmins - Create an admin for the companypostV1PartnerManagedCompanies - Create a partner managed companypostV1Provision - Create a companyputV1PartnerManagedCompaniesCompanyUuidMigrate - Migrate company to embedded payrolldeleteV1CompanyBenefitsCompanyBenefitId - Delete a company benefitgetV1Benefits - Get all benefits supported by GustogetV1BenefitsBenefitId - Get a supported benefit by IDgetV1BenefitsBenefitsIdRequirements - Get benefit fields requirements by IDgetV1BenefitsCompanyBenefitIdSummary - Get company benefit summary by company benefit id.getV1CompaniesCompanyIdCompanyBenefits - Get benefits for a companygetV1CompanyBenefitsCompanyBenefitId - Get a company benefitpostV1CompaniesCompanyIdCompanyBenefits - Create a company benefitputV1CompanyBenefitsCompanyBenefitId - Update a company benefitgetV1CompanyForm - Get a company formgetV1CompanyFormPdf - Get a company form pdfgetV1CompanyForms - Get all company formsputV1CompanyFormSign - Sign a company formgetV1ContractorForm - Get a contractor formgetV1ContractorFormPdf - Get the contractor form pdfgetV1ContractorForms - Get all contractor formspostV1SandboxGenerate1099 - Generate a 1099 form [SANDBOX]getV1ContractorsContractorUuidBankAccounts - Get all contractor bank accountsgetV1ContractorsContractorUuidPaymentMethod - Get a contractor's payment methodpostV1ContractorsContractorUuidBankAccounts - Create an contractor bank accountputV1ContractorsContractorIdPaymentMethod - Update a contractor's payment methoddeleteV1CompaniesCompanyIdContractorPaymentContractorPayment - Cancel a contractor paymentgetV1CompaniesCompanyIdContractorPaymentContractorPayment - Get a single contractor paymentgetV1CompaniesCompanyIdContractorPayments - Get contractor payments for a companygetV1ContractorPaymentsContractorPaymentUuidReceipt - Get a single contractor payment receiptpostV1CompaniesCompanyIdContractorPayments - Create a contractor paymentdeleteV1ContractorsContractorId - Delete a contractorgetV1CompaniesCompanyIdContractors - Get contractors of a companygetV1ContractorsContractorId - Get a contractorgetV1ContractorsContractorUuidAddress - Get a contractor addressgetV1ContractorsContractorUuidOnboardingStatus - Get the contractor's onboarding statuspostV1CompaniesCompanyIdContractors - Create a contractorputV1ContractorsContractorId - Update a contractorputV1ContractorsContractorUuidAddress - Update a contractor's addressputV1ContractorsContractorUuidOnboardingStatus - Change the contractor's onboarding statusdeleteDepartment - Delete a departmentgetCompaniesDepartments - Get all departments of a companygetDepartment - Get a departmentpostDepartments - Create a departmentputAddPeopleToDepartment - Add people to a departmentputDepartments - Update a departmentputRemovePeopleFromDepartment - Remove people from a departmentdeleteV1CompaniesCompanyIdEarningTypesEarningTypeUuid - Deactivate an earning typegetV1CompaniesCompanyIdEarningTypes - Get all earning types for a companypostV1CompaniesCompanyIdEarningTypes - Create a custom earning typeputV1CompaniesCompanyIdEarningTypesEarningTypeUuid - Update an earning typedeleteV1EmployeeBenefitsEmployeeBenefitId - Delete an employee benefitgetV1EmployeeBenefitsEmployeeBenefitId - Get an employee benefitgetV1EmployeesEmployeeIdEmployeeBenefits - Get all benefits for an employeepostEmployeeYtdBenefitAmountsFromDifferentCompany - Create year-to-date benefit amounts from a different companypostV1EmployeesEmployeeIdEmployeeBenefits - Create an employee benefitputV1EmployeeBenefitsEmployeeBenefitId - Update an employee benefitgetV1EmployeeForm - Get an employee formgetV1EmployeeFormPdf - Get the employee form pdfgetV1EmployeeForms - Get all employee formspostV1SandboxGenerateW2 - Generate a W2 form [SANDBOX]putV1EmployeeFormSign - Sign an employee formdeleteV1EmployeesEmployeeIdBankAccountsBankAccountId - Delete an employee bank accountgetV1EmployeesEmployeeIdPaymentMethod - Get an employee's payment methodpostV1EmployeesEmployeeIdBankAccounts - Create an employee bank accountputV1EmployeesEmployeeIdPaymentMethod - Update an employee's payment methodgetV1EmployeesEmployeeIdFederalTaxes - Get an employee's federal taxesgetV1EmployeesEmployeeIdStateTaxes - Get an employee's state taxesputV1EmployeesEmployeeIdFederalTaxes - Update an employee's federal taxesputV1EmployeesEmployeeIdStateTaxes - Update an employee's state taxesdeleteV1EmployeesEmployeeIdTerminations - Delete an employee terminationgetV1CompaniesCompanyIdUnprocessedTerminationPayPeriods - Get termination pay periods for a companygetV1EmployeesEmployeeIdTerminations - Get terminations for an employeepostV1EmployeesEmployeeIdTerminations - Create an employee terminationputV1TerminationsEmployeeId - Update an employee terminationdeleteV1Employee - Delete an onboarding employeegetV1Employees - Get an employeegetV1EmployeesEmployeeIdCustomFields - Get an employee's custom fieldsgetV1EmployeesEmployeeIdHomeAddress - Get an employee's home addressgetV1EmployeesEmployeeIdOnboardingStatus - Get the employee's onboarding statusgetVersionEmployeesTimeOffActivities - Get employee time off activitiespostV1Employees - Create an employeeputV1EmployeeFinishOnboarding - Finish onboarding an employeeputV1Employees - Update an employeeputV1EmployeesEmployeeIdHomeAddress - Update an employee's home addressputV1EmployeesEmployeeIdOnboardingStatus - Update the employee's onboarding statusdeleteV1ExternalPayroll - Delete an external payrollgetV1CompanyExternalPayrolls - Get external payrolls for a companygetV1ExternalPayroll - Get an external payrollgetV1ExternalPayrollCalculateTaxes - Get tax suggestions for an external payrollpostV1ExternalPayroll - Create a new external payroll for a companyputV1ExternalPayroll - Update an external payrollgetV1CompaniesCompanyIdFederalTaxDetails - Get Federal Tax DetailsputV1CompaniesCompanyIdFederalTaxDetails - Update Federal Tax DetailspostV1CompanyFlows - Create a flowgetV1EmployeesEmployeeIdGarnishments - Get garnishments for an employeegetV1GarnishmentsGarnishmentId - Get a garnishmentpostV1EmployeesEmployeeIdGarnishments - Create a garnishmentputV1GarnishmentsGarnishmentId - Update a garnishmentgetV1GeneratedDocumentsDocumentTypeRequestUuid - Get a generated documentgetV1CompanyIndustry - Get a company industry selectionputV1CompanyIndustry - Update a company industry selectiondeleteV1JobsJobId - Delete an individual jobgetV1CompensationsCompensationId - Get a compensationgetV1EmployeesEmployeeIdJobs - Get jobs for an employeegetV1JobsJobId - Get a jobgetV1JobsJobIdCompensations - Get compensations for a jobpostV1JobsJobId - Create a jobputV1CompensationsCompensationId - Update a compensationputV1JobsJobId - Update a jobgetV1CompaniesCompanyIdLocations - Get company locationsgetV1LocationsLocationId - Get a locationgetV1LocationsLocationUuidMinimumWages - Get minimum wages for a locationpostV1CompaniesCompanyIdLocationsJson - Create a company locationpostV1CompaniesCompanyIdLocationsRaw - Create a company locationputV1LocationsLocationId - Update a locationgetV1CompaniesCompanyIdPayPeriods - Get pay periods for a companygetV1CompaniesCompanyIdPaySchedules - Get the pay schedules for a companygetV1CompaniesCompanyIdPaySchedulesPayScheduleId - Get a pay schedulepostV1CompaniesCompanyIdPaySchedules - Create a new single pay scheduleputV1CompaniesCompanyIdPaySchedulesPayScheduleId - Update a pay schedulegetV1CompanyPaymentConfigs - Get a company's payment configsputV1CompanyPaymentConfigs - Update a company's payment configsgetV1CompaniesCompanyIdPayrollReversals - Get approved payroll reversalsgetV1CompaniesCompanyIdPayrolls - Get all payrolls for a companygetV1CompaniesCompanyIdPayrollsPayrollId - Get a single payrollgetV1CompaniesPayrollBlockersCompanyUuid - Get all payroll blockers for a companygetV1PaymentReceiptsPayrollsPayrollUuid - Get a single payroll receiptgetV1PayrollsPayrollUuidEmployeesEmployeeUuidPayStub - Get an employee pay stub (pdf)postV1CompaniesCompanyIdPayrolls - Create an off-cycle payrollpostV1PayrollsPayrollUuidGeneratedDocumentsPrintablePayrollChecks - Generate payroll printable checks (pdf)putApiV1CompaniesCompanyIdPayrollsPayrollIdCancel - Cancel a payrollputV1CompaniesCompanyIdPayrolls - Update a payroll by IDputV1CompaniesCompanyIdPayrollsPayPeriodStartDatePayPeriodEndDate - Update a payrollputV1CompaniesCompanyIdPayrollsPayrollIdCalculate - Calculate a payrollputV1CompaniesCompanyIdPayrollsPayrollIdSubmit - Submit payrolldeleteV1CompaniesCompanyUuidSignatoriesSignatoryUuid - Delete a signatorygetV1CompaniesCompanyUuidSignatories - Get all company signatoriespostV1CompaniesCompanyUuidSignatoriesInvite - Invite a signatorypostV1CompanySignatories - Create a signatoryputV1CompaniesCompanyUuidSignatoriesSignatoryUuid - Update a signatorygetV1TaxLiabilities - Get tax liabilitiesputV1TaxLiabilities - Update tax liabilitiesputV1TaxLiabilitiesFinish - Finalize tax liabilities options and convert into processed payrollsgetV1CompaniesCompanyUuidTaxRequirements - Get All Tax Requirement StatesgetV1CompaniesCompanyUuidTaxRequirementsState - Get State Tax RequirementsputV1CompaniesCompanyUuidTaxRequirementsState - Update State Tax RequirementsgetCompaniesCompanyUuidTimeOffPolicies - Get all time off policiesgetTimeOffPoliciesTimeOffPolicyUuid - Get a time off policypostCompaniesCompanyUuidTimeOffPolicies - Create a time off policypostV1PayrollsPayrollIdCalculateAccruingTimeOffHours - Calculate accruing time off hoursputTimeOffPoliciesTimeOffPolicyUuid - Update a time off policyputV1TimeOffPoliciesTimeOffPolicyUuidDeactivate - Deactivate a time off policyputV1TimeOffPoliciesTimeOffPolicyUuidRemoveEmployees - Remove employees from a time off policyputVersionTimeOffPoliciesTimeOffPolicyUuidAddEmployees - Add employees to a time off policyputVersionTimeOffPoliciesTimeOffPolicyUuidBalance - Update employee time off hour balancesgetV1Me - Get the current userdeleteV1WebhookSubscriptionUuid - Delete a webhook subscriptiongetV1WebhookSubscriptionUuid - Get a webhook subscriptiongetV1WebhookSubscriptionVerificationTokenUuid - Request the webhook subscription verification_tokengetV1WebhookSubscriptions - List webhook subscriptionspostV1WebhookSubscription - Create a Webhook SubscriptionputV1VerifyWebhookSubscriptionUuid - Verify the webhook subscriptionputV1WebhookSubscriptionUuid - Update a webhook subscriptionFAQs
Gusto's people platform helps growing businesses onboard, pay, in
The npm package @speakeasy-sdks/gusto receives a total of 0 weekly downloads. As such, @speakeasy-sdks/gusto popularity was classified as not popular.
We found that @speakeasy-sdks/gusto demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.