Gusto Payrolls API

The Payrolls API from Gusto — 3 operation(s) for payrolls.

GitHub OpenAPI
Business capability
HR Operations Management BC-300.70

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/companies/{company_id}/payrolls List a company's payrolls · List payrolls #
Ask an LLM
“What payrolls has my company run?”
“Can I see all payrolls for a company?”
Tell an agent
List payrolls for company {company_id}.
Show every payroll run at {company_id}.
POST /v1/companies/{company_id}/payrolls Create an off-cycle payroll · Create off-cycle payroll #
Ask an LLM
“How do I pay employees outside of a scheduled payroll?”
“Can I run an extra payroll for one-off payments?”
Tell an agent
Create an off-cycle payroll for company {company_id}.
Run a one-time payroll at {company_id} for a special payment.
PUT /v1/companies/{company_id}/payrolls/{payroll_id}/submit Submit a payroll for processing · Submit payroll #
Ask an LLM
“How do I finalize a payroll so it can be paid out?”
“Can I submit a payroll I've already calculated?”
Tell an agent
Submit payroll {payroll_id} for company {company_id}.
Finalize payroll {payroll_id} at {company_id} so it goes out.
PUT /v1/companies/{company_id}/payrolls/{payroll_id}/calculate Calculate taxes and benefits for a payroll · Calculate payroll taxes and benefits #
Ask an LLM
“How do I figure out taxes and benefits before a payroll goes out?”
“Can I recalculate a payroll's taxes?”
Tell an agent
Calculate taxes and benefits for payroll {payroll_id} at {company_id}.
Recompute payroll {payroll_id} at {company_id} after edits.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gusto:gusto-payrolls-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gusto-payrolls-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gusto Embedded Payroll Payrolls API
  version: 1.0.0
  description: 'REST API for embedding Gusto''s payroll, tax filing, and HR workflows into

    third-party platforms. Supports companies, contractors, employees,

    payrolls, contractor payments, bank accounts, pay schedules, flows,

    reports, and webhook events. Date-based API versioning. Authentication is

    via OAuth 2.0 for company-level access or a system-level bearer token for

    partner operations, with fine-grained scopes.'
  contact:
    name: Gusto Developer Documentation
    url: https://docs.gusto.com/embedded-payroll
servers:
- url: https://api.gusto.com
  description: Gusto production API
security:
- bearerAuth: []
tags:
- name: Payrolls
paths:
  /v1/companies/{company_id}/payrolls:
    get:
      summary: List payrolls
      operationId: listPayrolls
      tags:
      - Payrolls
      parameters:
      - in: path
        name: company_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of payrolls.
    post:
      summary: Create off-cycle payroll
      operationId: createOffCyclePayroll
      tags:
      - Payrolls
      parameters:
      - in: path
        name: company_id
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Payroll created.
  /v1/companies/{company_id}/payrolls/{payroll_id}/submit:
    put:
      summary: Submit payroll
      operationId: submitPayroll
      tags:
      - Payrolls
      parameters:
      - in: path
        name: company_id
        required: true
        schema:
          type: string
      - in: path
        name: payroll_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Payroll submitted.
  /v1/companies/{company_id}/payrolls/{payroll_id}/calculate:
    put:
      summary: Calculate payroll taxes and benefits
      operationId: calculatePayroll
      tags:
      - Payrolls
      parameters:
      - in: path
        name: company_id
        required: true
        schema:
          type: string
      - in: path
        name: payroll_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Payroll calculation initiated.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'OAuth 2.0 access token for company-level access or system-level bearer

        token for partner operations. Scopes such as payrolls:read, payrolls:run,

        contractors:write provide fine-grained permissions.

        '