Skip to main content

Gusto Connector

Gusto Manage payroll, benefits, and human resource within Gusto

Connections

Gusto API Key

Retrieve this from the Gusto dashboard.

InputCommentsDefault
API TokenThis token is required for webhook subscriptions.

Gusto OAuth 2.0 Connection

Connect to Gusto via OAuth 2.0

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
Authorize URLThe OAuth 2.0 Authorization URL for Gustohttps://api.gusto.com/oauth/authorize
Token URLThe OAuth 2.0 Token URL for Gustohttps://api.gusto.com/oauth/token
Client IDClient Identifier of your app for the API
Client SecretClient Secret of your app for the API

Triggers

Webhook

Receive and validate webhook requests from Gusto for webhooks you configure.

InputCommentsDefault
Connection

Actions

Create Employee

Create an employee of a company

InputCommentsDefault
Connection
Company IDA UUID representing a company.
First NameThe employee's first name.
Middle InitialThe employee's middle initial.
Last NameThe employee's last name.
Date of BirthThe employee's date of birth.
Email AddressThe employee's personal email address.
Social Security NumberThe employee's social security number.

Create Webhook Subscription

Creates a Webhook Subscription to receive notifications when entities change for Gusto.

InputCommentsDefault
Connection
Webhook URLThe URL for the webhook subscription.
Subscription TypesTypes of notifications to receive when entities change. Enter as comma-separated values.

Delete Webhook Subscription

Deletes the Webhook Subscription associated with the provided UUID for Gusto.

InputCommentsDefault
Connection
Webhook Subscription UUIDThe webhook subscription UUID.

Find Employee by Email

Get an employee by personal email address.

InputCommentsDefault
Connection
Company IDA UUID representing a company.
Email AddressThe employee's personal email address.

Get Company by ID

Get company metadata by ID

InputCommentsDefault
Connection
Company IDA UUID representing a company.

Get Employee

Get an employee by ID

InputCommentsDefault
Connection
Employee IDA UUID representing a employee.

Get Pay Schedule by ID

Get a pay schedules for a company by pay schedule ID

InputCommentsDefault
Connection
Company IDA UUID representing a company.
Pay Schedule IDA UUID representing a pay schedule.

Get Webhook Events

Get webhook events based on the partner application's scopes for Gusto.

InputCommentsDefault
Connection
PageThe page that is requested. When unspecified, will load the first page.
Number of Objects per PageNumber of objects per page. When unspecified, will default to 25.
Starting After UUIDServes as a cursor, returns all events occurring after specified UUID (exclusive).
Event TypeA string containing the exact event name or use a wildcard match to filter for a group of events.

Get Webhook Subscription

Returns the Webhook Subscription associated with the provided UUID for Gusto.

InputCommentsDefault
Connection
Webhook Subscription UUIDThe webhook subscription UUID.

List Companies

List all companies that the currently authenticated user is a part of

InputCommentsDefault
Connection
Pagination PageWhich page of results to fetch. See https://docs.gusto.com/app-integrations/docs/pagination

List Company Admins

List all admin users at a company

InputCommentsDefault
Connection
Company IDA UUID representing a company.
Pagination PageWhich page of results to fetch. See https://docs.gusto.com/app-integrations/docs/pagination

List Employees

List employees of a company

InputCommentsDefault
Connection
Company IDA UUID representing a company.
Pagination PageWhich page of results to fetch. See https://docs.gusto.com/app-integrations/docs/pagination

List Pay Schedules

List pay schedules for a company

InputCommentsDefault
Connection
Company IDA UUID representing a company.
Pagination PageWhich page of results to fetch. See https://docs.gusto.com/app-integrations/docs/pagination

List Webhook Subscriptions

Returns all webhook subscriptions associated with the provided Partner API token for Gusto.

InputCommentsDefault
Connection

Raw Request

Send raw HTTP request to Gusto

InputCommentsDefault
Connection
API Version2023-04-01
URLInput 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.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA 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.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Debug RequestEnabling this flag will log out the current request.false
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf 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.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Terminate Employee

End an employee's employment

InputCommentsDefault
Connection
Employee IDA UUID representing a employee.
Termination DateThe date the employee was terminated.
Run Termination Payroll?Whether to run a termination payroll for the employee.false

Update Webhook Subscription

Updates the Webhook Subscription associated with the provided UUID for Gusto.

InputCommentsDefault
Connection
Webhook Subscription UUIDThe webhook subscription UUID.
Subscription TypesTypes of notifications to receive when entities change. Enter as comma-separated values.