Skip to main content

Gusto Component

Manage payroll, benefits, and human resource within Gusto

Component key: gusto

Description

Gusto is a company that provides a cloud-based payroll, benefits, and human resource management software for businesses based in the United States.

Connections

Gusto API Token

If webhooks are used in your integration than an API key is required. To obtain your API key:

  1. Login to https://dev.gusto.com/ and navigate to Organizations.
  2. In the Developer API Tokens section you may copy and/or reveal your API token.
  3. Add the Gusto API Token connection type to your Prismatic integration and enter the token value in the API token field.
  4. When using either the webhook actions and/or the webhook trigger in your integration, it is important that you configure the connection field to use the API token connection type.
InputNotes
API Token
password
/ Required
apiToken
This token is required for webhook subscriptions.

Gusto OAuth 2.0 Connection

To create an OAuth 2.0 app in Gusto, sign up for a Gusto developer account at https://dev.gusto.com/ and create a new Gusto application. Take note of your applications's Client ID and Secret and enter those values in Prismatic when you add a Gusto connection to your integration. Under Redirect URI, add Prismatic's callback URL, https://oauth2.prismatic.io/callback.

InputDefaultNotesExample
Authorize URL
string
/ Required
authorizeUrl
https://api.gusto.com/oauth/authorize
The OAuth 2.0 Authorization URL for Gusto
 
Client ID
string
/ Required
clientId
Client Identifier of your app for the API
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Client Secret
password
/ Required
clientSecret
Client Secret of your app for the API
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Scopes
string
Hidden Field
scopes
Scopes are not used for Gusto
 
Token URL
string
/ Required
tokenUrl
https://api.gusto.com/oauth/token
The OAuth 2.0 Token URL for Gusto
 

Triggers

Webhook

Receive and validate webhook requests from Gusto for webhooks you configure. | key: gustoWebhookTrigger

InputNotes
Connection
connection
/ Required
connection
 

Data Sources

Select Company

Allow a user to select one of their companies | key: selectCompany | type: picklist

InputNotes
Connection
connection
/ Required
connection
 

Actions

Create Employee

Create an employee of a company | key: createEmployee

InputNotesExample
Company ID
string
/ Required
companyId
A UUID representing a company.
00000000-0000-0000-0000-000000000000
Connection
connection
/ Required
connection
 
 
Date of Birth
string
dateOfBirth
The employee's date of birth.
1990-12-30
Email Address
string
email
The employee's personal email address.
john.doe@example.com
First Name
string
/ Required
firstName
The employee's first name.
 
Last Name
string
/ Required
lastName
The employee's last name.
 
Middle Initial
string
middleInitial
The employee's middle initial.
 
Social Security Number
string
ssn
The employee's social security number.
123-45-6789

{
"data": {
"data": {
"uuid": "9779767c-6044-48e0-bf68-aeb370b9a2e7",
"first_name": "Nicole",
"middle_initial": "M",
"last_name": "Boehm",
"email": "kory7757869450111548@barton-hermiston.io",
"company_uuid": "c44d66dc-c41b-4a60-9e25-5e93ff8583f2",
"manager_uuid": "5e53e257-c8d6-45aa-aa8a-ec99283a3acd",
"version": "414dedaca594b77135e0b8d2f398516d",
"department": "Stage Hand",
"department_uuid": "1802465d-4f68-4865-920c-1307ab095f12",
"terminated": false,
"two_percent_shareholder": false,
"onboarded": true,
"jobs": [
{
"uuid": "5d5e3ce5-ea8f-4885-90e5-7ebaed03f7c5",
"version": "91179081a7309c9fbd31bb3cf7b9893e",
"employee_uuid": "a987bce1-6d06-43f8-9978-9db886f479fb",
"current_compensation_uuid": "798a962f-0fcf-491e-9b71-cfa6a1db114f",
"payment_unit": "Hour",
"primary": true,
"title": "Client Support Manager",
"compensations": [
{
"uuid": "94f17a77-cfe5-436a-af94-422bbf8248ff",
"version": "233f0096a8015e62d9795fadf1fd300d",
"payment_unit": "Hour",
"flsa_status": "Nonexempt",
"job_uuid": "64711ac0-83ff-4aaf-bec1-db72f5a44e56",
"effective_date": "2021-01-20",
"rate": "22.00",
"adjust_for_minimum_wage": false,
"minimum_wages": []
}
],
"rate": "22.00",
"hire_date": "2020-01-20",
"location": {
"uuid": "a82843df-3e90-4f4c-93bc-808122f88a46",
"street_1": "412 Kiera Stravenue",
"street_2": "Suite 391",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA",
"inactive": false
}
}
],
"eligible_paid_time_off": [
{
"name": "Sick Hours",
"accrual_unit": "Hour",
"accrual_rate": "208.0",
"accrual_method": "per_hour_worked",
"accrual_period": "Year",
"accrual_balance": "71.0",
"maximum_accrual_balance": "240.0",
"paid_at_termination": false
},
{
"name": "Vacation Hours",
"accrual_unit": "Hour",
"accrual_rate": "208.0",
"accrual_period": "Year",
"accrual_balance": "34.0",
"maximum_accrual_balance": "240.0",
"paid_at_termination": true
}
],
"terminations": [],
"home_address": {
"version": "7776defce07496b82f3f1ed469e48ae5",
"employee_uuid": "628d203c-357b-4dd4-9ea1-8468b15dd58b",
"street_1": "3772 Reynolds Centers",
"street_2": "Suite 461",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA",
"active": true
},
"garnishments": [],
"date_of_birth": "1996-05-08",
"has_ssn": true,
"ssn": "",
"phone": "1234567890",
"preferred_first_name": "Vanessa",
"work_email": "vanessa.boehm@example.com"
},
"headers": {}
}
}

Create Webhook Subscription

Creates a Webhook Subscription to receive notifications when entities change for Gusto. | key: createWebhookSubscription

InputNotesExample
Connection
connection
/ Required
connection
 
 
Subscription Types
text
/ Required
subscriptionTypes
Types of notifications to receive when entities change. Enter as comma-separated values.
type1,type2
Webhook URL
string
/ Required
webhookUrl
The URL for the webhook subscription.
https://example.com/webhooks

Delete Webhook Subscription

Deletes the Webhook Subscription associated with the provided UUID for Gusto. | key: deleteWebhookSubscription

InputNotesExample
Connection
connection
/ Required
connection
 
 
Webhook Subscription UUID
string
/ Required
webhookSubscriptionUuid
The webhook subscription UUID.
00000000-0000-0000-0000-000000000000

Find Employee by Email

Get an employee by personal email address. | key: findEmployeeByEmail

InputNotesExample
Company ID
string
/ Required
companyId
A UUID representing a company.
00000000-0000-0000-0000-000000000000
Connection
connection
/ Required
connection
 
 
Email Address
string
email
The employee's personal email address.
john.doe@example.com

{
"data": {
"data": {
"uuid": "9779767c-6044-48e0-bf68-aeb370b9a2e7",
"first_name": "Nicole",
"middle_initial": "M",
"last_name": "Boehm",
"email": "kory7757869450111548@barton-hermiston.io",
"company_uuid": "c44d66dc-c41b-4a60-9e25-5e93ff8583f2",
"manager_uuid": "5e53e257-c8d6-45aa-aa8a-ec99283a3acd",
"version": "414dedaca594b77135e0b8d2f398516d",
"department": "Stage Hand",
"department_uuid": "1802465d-4f68-4865-920c-1307ab095f12",
"terminated": false,
"two_percent_shareholder": false,
"onboarded": true,
"jobs": [
{
"uuid": "5d5e3ce5-ea8f-4885-90e5-7ebaed03f7c5",
"version": "91179081a7309c9fbd31bb3cf7b9893e",
"employee_uuid": "a987bce1-6d06-43f8-9978-9db886f479fb",
"current_compensation_uuid": "798a962f-0fcf-491e-9b71-cfa6a1db114f",
"payment_unit": "Hour",
"primary": true,
"title": "Client Support Manager",
"compensations": [
{
"uuid": "94f17a77-cfe5-436a-af94-422bbf8248ff",
"version": "233f0096a8015e62d9795fadf1fd300d",
"payment_unit": "Hour",
"flsa_status": "Nonexempt",
"job_uuid": "64711ac0-83ff-4aaf-bec1-db72f5a44e56",
"effective_date": "2021-01-20",
"rate": "22.00",
"adjust_for_minimum_wage": false,
"minimum_wages": []
}
],
"rate": "22.00",
"hire_date": "2020-01-20",
"location": {
"uuid": "a82843df-3e90-4f4c-93bc-808122f88a46",
"street_1": "412 Kiera Stravenue",
"street_2": "Suite 391",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA",
"inactive": false
}
}
],
"eligible_paid_time_off": [
{
"name": "Sick Hours",
"accrual_unit": "Hour",
"accrual_rate": "208.0",
"accrual_method": "per_hour_worked",
"accrual_period": "Year",
"accrual_balance": "71.0",
"maximum_accrual_balance": "240.0",
"paid_at_termination": false
},
{
"name": "Vacation Hours",
"accrual_unit": "Hour",
"accrual_rate": "208.0",
"accrual_period": "Year",
"accrual_balance": "34.0",
"maximum_accrual_balance": "240.0",
"paid_at_termination": true
}
],
"terminations": [],
"home_address": {
"version": "7776defce07496b82f3f1ed469e48ae5",
"employee_uuid": "628d203c-357b-4dd4-9ea1-8468b15dd58b",
"street_1": "3772 Reynolds Centers",
"street_2": "Suite 461",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA",
"active": true
},
"garnishments": [],
"date_of_birth": "1996-05-08",
"has_ssn": true,
"ssn": "",
"phone": "1234567890",
"preferred_first_name": "Vanessa",
"work_email": "vanessa.boehm@example.com"
},
"headers": {}
}
}

Get Company by ID

Get company metadata by ID | key: getCompany

InputNotesExample
Company ID
string
/ Required
companyId
A UUID representing a company.
00000000-0000-0000-0000-000000000000
Connection
connection
/ Required
connection
 
 

{
"data": {
"data": {
"ein": "00-0000001",
"entity_type": "C-Corporation",
"tier": "core",
"is_suspended": false,
"company_status": "Approved",
"uuid": "c7a07c73-a703-4462-9343-1b181182b6e0",
"name": "Shoppe Studios LLC",
"trade_name": "Record Shoppe",
"is_partner_managed": false,
"locations": [
{
"street_1": "412 Kiera Stravenue",
"street_2": "Suite 391",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA",
"active": true
},
{
"street_1": "644 Fay Vista",
"street_2": "Suite 842",
"city": "Richmond",
"state": "VA",
"zip": "23218",
"country": "USA",
"active": true
}
],
"compensations": {
"hourly": [
{
"name": "Overtime",
"multiple": 1.5
},
{
"name": "Double overtime",
"multiple": 2
},
{
"name": "Regular",
"multiple": 1
},
{
"name": "Outstanding vacation",
"multiple": 1
},
{
"name": "Holiday",
"multiple": 1
},
{
"name": "Emergency sick - self care",
"multiple": 1
},
{
"name": "Emergency sick - caring for others",
"multiple": 1
},
{
"name": "FMLA Public Health Emergency Leave",
"multiple": 1
},
{
"name": "Regular Hours",
"multiple": 1
}
],
"fixed": [
{
"name": "Bonus"
},
{
"name": "Commission"
},
{
"name": "Paycheck Tips"
},
{
"name": "Cash Tips"
},
{
"name": "Correction Payment"
},
{
"name": "Severance"
},
{
"name": "Minimum Wage Adjustment"
},
{
"name": "Reimbursement"
}
],
"paid_time_off": [
{
"name": "Vacation Hours"
},
{
"name": "Sick Hours"
},
{
"name": "Holiday Hours"
}
]
},
"primary_signatory": {
"first_name": "Alda",
"middle_initial": "",
"last_name": "Carter",
"phone": "1-565-710-7558",
"email": "louie.hessel7757869450111547@zemlak.biz",
"home_address": {
"street_1": "524 Roob Divide",
"street_2": "Suite 565",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA"
}
},
"primary_payroll_admin": {
"first_name": "Ian",
"last_name": "Labadie",
"phone": "1-565-710-7559",
"email": "louie.hessel7757869450111547@zemlak.biz"
}
},
"headers": {}
}
}

Get Employee

Get an employee by ID | key: getEmployee

InputNotesExample
Connection
connection
/ Required
connection
 
 
Employee ID
string
/ Required
employeeId
A UUID representing a employee.
00000000-0000-0000-0000-000000000000

{
"data": {
"data": {
"uuid": "9779767c-6044-48e0-bf68-aeb370b9a2e7",
"first_name": "Nicole",
"middle_initial": "M",
"last_name": "Boehm",
"email": "kory7757869450111548@barton-hermiston.io",
"company_uuid": "c44d66dc-c41b-4a60-9e25-5e93ff8583f2",
"manager_uuid": "5e53e257-c8d6-45aa-aa8a-ec99283a3acd",
"version": "414dedaca594b77135e0b8d2f398516d",
"department": "Stage Hand",
"department_uuid": "1802465d-4f68-4865-920c-1307ab095f12",
"terminated": false,
"two_percent_shareholder": false,
"onboarded": true,
"jobs": [
{
"uuid": "5d5e3ce5-ea8f-4885-90e5-7ebaed03f7c5",
"version": "91179081a7309c9fbd31bb3cf7b9893e",
"employee_uuid": "a987bce1-6d06-43f8-9978-9db886f479fb",
"current_compensation_uuid": "798a962f-0fcf-491e-9b71-cfa6a1db114f",
"payment_unit": "Hour",
"primary": true,
"title": "Client Support Manager",
"compensations": [
{
"uuid": "94f17a77-cfe5-436a-af94-422bbf8248ff",
"version": "233f0096a8015e62d9795fadf1fd300d",
"payment_unit": "Hour",
"flsa_status": "Nonexempt",
"job_uuid": "64711ac0-83ff-4aaf-bec1-db72f5a44e56",
"effective_date": "2021-01-20",
"rate": "22.00",
"adjust_for_minimum_wage": false,
"minimum_wages": []
}
],
"rate": "22.00",
"hire_date": "2020-01-20",
"location": {
"uuid": "a82843df-3e90-4f4c-93bc-808122f88a46",
"street_1": "412 Kiera Stravenue",
"street_2": "Suite 391",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA",
"inactive": false
}
}
],
"eligible_paid_time_off": [
{
"name": "Sick Hours",
"accrual_unit": "Hour",
"accrual_rate": "208.0",
"accrual_method": "per_hour_worked",
"accrual_period": "Year",
"accrual_balance": "71.0",
"maximum_accrual_balance": "240.0",
"paid_at_termination": false
},
{
"name": "Vacation Hours",
"accrual_unit": "Hour",
"accrual_rate": "208.0",
"accrual_period": "Year",
"accrual_balance": "34.0",
"maximum_accrual_balance": "240.0",
"paid_at_termination": true
}
],
"terminations": [],
"home_address": {
"version": "7776defce07496b82f3f1ed469e48ae5",
"employee_uuid": "628d203c-357b-4dd4-9ea1-8468b15dd58b",
"street_1": "3772 Reynolds Centers",
"street_2": "Suite 461",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA",
"active": true
},
"garnishments": [],
"date_of_birth": "1996-05-08",
"has_ssn": true,
"ssn": "",
"phone": "1234567890",
"preferred_first_name": "Vanessa",
"work_email": "vanessa.boehm@example.com"
},
"headers": {}
}
}

Get Pay Schedule by ID

Get a pay schedules for a company by pay schedule ID | key: getPaySchedule

InputNotesExample
Company ID
string
/ Required
companyId
A UUID representing a company.
00000000-0000-0000-0000-000000000000
Connection
connection
/ Required
connection
 
 
Pay Schedule ID
string
/ Required
payScheduleId
A UUID representing a pay schedule.
00000000-0000-0000-0000-000000000000

{
"data": {
"data": [
{
"uuid": "2097fe08-407a-46d7-b35c-a32402a2355e",
"frequency": "Twice per month",
"anchor_pay_date": "2020-05-15",
"anchor_end_of_pay_period": "2020-05-08",
"day_1": 15,
"day_2": 31,
"name": "Engineering",
"auto_pilot": false
}
],
"headers": {}
}
}

Get Webhook Events

Get webhook events based on the partner application's scopes for Gusto. | key: getWebhookEvents

InputNotes
Connection
connection
/ Required
connection
 
Event Type
string
eventType
A string containing the exact event name or use a wildcard match to filter for a group of events.
Page
string
page
The page that is requested. When unspecified, will load the first page.
Number of Objects per Page
string
per
Number of objects per page. When unspecified, will default to 25.
Starting After UUID
string
startingAfterUuid
Serves as a cursor, returns all events occurring after specified UUID (exclusive).

Get Webhook Subscription

Returns the Webhook Subscription associated with the provided UUID for Gusto. | key: getWebhookSubscription

InputNotesExample
Connection
connection
/ Required
connection
 
 
Webhook Subscription UUID
string
/ Required
webhookSubscriptionUuid
The webhook subscription UUID.
00000000-0000-0000-0000-000000000000

List Companies

List all companies that the currently authenticated user is a part of | key: listCompanies

InputNotes
Connection
connection
/ Required
connection
 
Pagination Page
string
page
Which page of results to fetch. See https://docs.gusto.com/app-integrations/docs/pagination

{
"data": {
"data": [
{
"ein": "00-0000001",
"entity_type": "C-Corporation",
"tier": "core",
"is_suspended": false,
"company_status": "Approved",
"uuid": "c7a07c73-a703-4462-9343-1b181182b6e0",
"name": "Shoppe Studios LLC",
"trade_name": "Record Shoppe",
"is_partner_managed": false,
"locations": [
{
"street_1": "412 Kiera Stravenue",
"street_2": "Suite 391",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA",
"active": true
},
{
"street_1": "644 Fay Vista",
"street_2": "Suite 842",
"city": "Richmond",
"state": "VA",
"zip": "23218",
"country": "USA",
"active": true
}
],
"compensations": {
"hourly": [
{
"name": "Overtime",
"multiple": 1.5
},
{
"name": "Double overtime",
"multiple": 2
},
{
"name": "Regular",
"multiple": 1
},
{
"name": "Outstanding vacation",
"multiple": 1
},
{
"name": "Holiday",
"multiple": 1
},
{
"name": "Emergency sick - self care",
"multiple": 1
},
{
"name": "Emergency sick - caring for others",
"multiple": 1
},
{
"name": "FMLA Public Health Emergency Leave",
"multiple": 1
},
{
"name": "Regular Hours",
"multiple": 1
}
],
"fixed": [
{
"name": "Bonus"
},
{
"name": "Commission"
},
{
"name": "Paycheck Tips"
},
{
"name": "Cash Tips"
},
{
"name": "Correction Payment"
},
{
"name": "Severance"
},
{
"name": "Minimum Wage Adjustment"
},
{
"name": "Reimbursement"
}
],
"paid_time_off": [
{
"name": "Vacation Hours"
},
{
"name": "Sick Hours"
},
{
"name": "Holiday Hours"
}
]
},
"primary_signatory": {
"first_name": "Alda",
"middle_initial": "",
"last_name": "Carter",
"phone": "1-565-710-7558",
"email": "louie.hessel7757869450111547@zemlak.biz",
"home_address": {
"street_1": "524 Roob Divide",
"street_2": "Suite 565",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA"
}
},
"primary_payroll_admin": {
"first_name": "Ian",
"last_name": "Labadie",
"phone": "1-565-710-7559",
"email": "louie.hessel7757869450111547@zemlak.biz"
}
}
],
"headers": {}
}
}

List Company Admins

List all admin users at a company | key: listCompanyAdmins

InputNotesExample
Company ID
string
/ Required
companyId
A UUID representing a company.
00000000-0000-0000-0000-000000000000
Connection
connection
/ Required
connection
 
 
Pagination Page
string
page
Which page of results to fetch. See https://docs.gusto.com/app-integrations/docs/pagination
 

{
"data": {
"data": [
{
"first_name": "Katherine",
"last_name": "Johnson",
"email": "Katherine@acmecorp.com",
"uuid": "987058cc-23ee-46e9-81ef-5cee086cceca"
},
{
"first_name": "Anita",
"last_name": "Borg",
"email": "Anita@acmecorp.com",
"uuid": "5de11791-98fd-4587-9ed0-d5d804b8e647"
}
],
"headers": {}
}
}

List Employees

List employees of a company | key: listEmployees

InputNotesExample
Company ID
string
/ Required
companyId
A UUID representing a company.
00000000-0000-0000-0000-000000000000
Connection
connection
/ Required
connection
 
 
Pagination Page
string
page
Which page of results to fetch. See https://docs.gusto.com/app-integrations/docs/pagination
 

{
"data": {
"data": [
{
"uuid": "9779767c-6044-48e0-bf68-aeb370b9a2e7",
"first_name": "Nicole",
"middle_initial": "M",
"last_name": "Boehm",
"email": "kory7757869450111548@barton-hermiston.io",
"company_uuid": "c44d66dc-c41b-4a60-9e25-5e93ff8583f2",
"manager_uuid": "5e53e257-c8d6-45aa-aa8a-ec99283a3acd",
"version": "414dedaca594b77135e0b8d2f398516d",
"department": "Stage Hand",
"department_uuid": "1802465d-4f68-4865-920c-1307ab095f12",
"terminated": false,
"two_percent_shareholder": false,
"onboarded": true,
"jobs": [
{
"uuid": "5d5e3ce5-ea8f-4885-90e5-7ebaed03f7c5",
"version": "91179081a7309c9fbd31bb3cf7b9893e",
"employee_uuid": "a987bce1-6d06-43f8-9978-9db886f479fb",
"current_compensation_uuid": "798a962f-0fcf-491e-9b71-cfa6a1db114f",
"payment_unit": "Hour",
"primary": true,
"title": "Client Support Manager",
"compensations": [
{
"uuid": "94f17a77-cfe5-436a-af94-422bbf8248ff",
"version": "233f0096a8015e62d9795fadf1fd300d",
"payment_unit": "Hour",
"flsa_status": "Nonexempt",
"job_uuid": "64711ac0-83ff-4aaf-bec1-db72f5a44e56",
"effective_date": "2021-01-20",
"rate": "22.00",
"adjust_for_minimum_wage": false,
"minimum_wages": []
}
],
"rate": "22.00",
"hire_date": "2020-01-20",
"location": {
"uuid": "a82843df-3e90-4f4c-93bc-808122f88a46",
"street_1": "412 Kiera Stravenue",
"street_2": "Suite 391",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA",
"inactive": false
}
}
],
"eligible_paid_time_off": [
{
"name": "Sick Hours",
"accrual_unit": "Hour",
"accrual_rate": "208.0",
"accrual_method": "per_hour_worked",
"accrual_period": "Year",
"accrual_balance": "71.0",
"maximum_accrual_balance": "240.0",
"paid_at_termination": false
},
{
"name": "Vacation Hours",
"accrual_unit": "Hour",
"accrual_rate": "208.0",
"accrual_period": "Year",
"accrual_balance": "34.0",
"maximum_accrual_balance": "240.0",
"paid_at_termination": true
}
],
"terminations": [],
"home_address": {
"version": "7776defce07496b82f3f1ed469e48ae5",
"employee_uuid": "628d203c-357b-4dd4-9ea1-8468b15dd58b",
"street_1": "3772 Reynolds Centers",
"street_2": "Suite 461",
"city": "San Francisco",
"state": "CA",
"zip": "94107",
"country": "USA",
"active": true
},
"garnishments": [],
"date_of_birth": "1996-05-08",
"has_ssn": true,
"ssn": "",
"phone": "1234567890",
"preferred_first_name": "Vanessa",
"work_email": "vanessa.boehm@example.com"
}
],
"headers": {}
}
}

List Pay Schedules

List pay schedules for a company | key: listPaySchedules

InputNotesExample
Company ID
string
/ Required
companyId
A UUID representing a company.
00000000-0000-0000-0000-000000000000
Connection
connection
/ Required
connection
 
 
Pagination Page
string
page
Which page of results to fetch. See https://docs.gusto.com/app-integrations/docs/pagination
 

{
"data": {
"data": [
{
"uuid": "2097fe08-407a-46d7-b35c-a32402a2355e",
"frequency": "Twice per month",
"anchor_pay_date": "2020-05-15",
"anchor_end_of_pay_period": "2020-05-08",
"day_1": 15,
"day_2": 31,
"name": "Engineering",
"auto_pilot": false
}
],
"headers": {}
}
}

List Webhook Subscriptions

Returns all webhook subscriptions associated with the provided Partner API token for Gusto. | key: listWebhookSubscriptions

InputNotes
Connection
connection
/ Required
connection
 

Raw Request

Send raw HTTP request to Gusto | key: rawRequest

InputDefaultNotesExample
API Version
string
/ Required
apiVersion
2023-04-01
 
 
Connection
connection
/ Required
connection
 
 
 
Data
string
data
The HTTP body payload to send to the URL.
{"exampleKey": "Example Data"}
Debug Request
boolean
debugRequest
false
Enabling this flag will log out the current request.
 
File Data
string
Key Value List
fileData
File Data to be sent as a multipart form upload.
[{key: "example.txt", value: "My File Contents"}]
File Data File Names
string
Key Value List
fileDataFileNames
File names to apply to the file data inputs. Keys must match the file data keys above.
 
Form Data
string
Key Value List
formData
The Form Data to be sent as a multipart form upload.
[{"key": "Example Key", "value": new Buffer("Hello World")}]
Header
string
Key Value List
headers
A list of headers to send with the request.
User-Agent: curl/7.64.1
Max Retry Count
string
maxRetries
0
The maximum number of retries to attempt. Specify 0 for no retries.
 
Method
string
/ Required
method
The HTTP method to use.
 
Query Parameter
string
Key Value List
queryParams
A list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
 
Response Type
string
/ Required
responseType
json
The type of data you expect in the response. You can request json, text, or binary data.
 
Retry On All Errors
boolean
retryAllErrors
false
If true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.
 
Retry Delay (ms)
string
retryDelayMS
0
The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.
 
Timeout
string
timeout
The maximum time that a client will await a response to its request
2000
URL
string
/ Required
url
Input the path only (/provision), The base URL is already included (https://api.gusto.com/v1). For example, to connect to https://api.gusto.com/v1/provision, only /provision is entered in this field.
/provision
Use Exponential Backoff
boolean
useExponentialBackoff
false
Specifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.
 

Terminate Employee

End an employee's employment | key: terminateEmployee

InputDefaultNotesExample
Connection
connection
/ Required
connection
 
 
 
Employee ID
string
/ Required
employeeId
A UUID representing a employee.
00000000-0000-0000-0000-000000000000
Run Termination Payroll?
boolean
/ Required
runTerminationPayroll
false
Whether to run a termination payroll for the employee.
 
Termination Date
string
/ Required
terminationDate
The date the employee was terminated.
2020-12-30

Update Webhook Subscription

Updates the Webhook Subscription associated with the provided UUID for Gusto. | key: updateWebhookSubscription

InputNotesExample
Connection
connection
/ Required
connection
 
 
Subscription Types
text
/ Required
subscriptionTypes
Types of notifications to receive when entities change. Enter as comma-separated values.
type1,type2
Webhook Subscription UUID
string
/ Required
webhookSubscriptionUuid
The webhook subscription UUID.
00000000-0000-0000-0000-000000000000