TheDocumentation Index
Fetch the complete documentation index at: https://gusto-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
batch_uuid is the unique identifier that the caller provided during the upload. This allows the caller to track the progress and results of the batch operation.
Scope: people_batches:read
The endpoint returns one of the following:
200 OK: batch results are returned404 Not Found: unknownbatch_uuid422 Unprocessable Entity: when there is an internal issue with the batch result data
Response details
The response is a JSON object containing:-
status: (e.g., “pending”, “processing”, “success”, “partial_success”, “failed”)- pending : none of the entities have been started yet
- processing : one or more of the entities are still processing
- success : all entities are in a successfully completed state
- partial_success: all entities have been processed, 1 or more items or attributes have errors
- failed : the entire batch did not process for some reason
-
submitted_at: timestamp of the upload. -
completed_at: timestamp of completion (if applicable), or NULL -
submitted_items: Integer -
processed_items: Integer -
excluded_items: Integer -
results: An array detailing the outcome for each person in the batch. This could include:-
For create requests: Gusto’s
uuidand the partner’sexternal_idof the person. -
For update requests: Gusto’s
uuid - The operation performed (create or update).
- The final internal UUID (if creation was successful).
-
idx: the index of the person corresponding to the batch input data -
Overall status for this person:
successeverything workedfailed:incl. any validation errors for this personpartial_success:indicates a partial success, and we provide the status for each attribute (success or failure)
-
For create requests: Gusto’s
-
exclusions: An array of employee objects. In case there are general issues with an employee’s data, e.g. duplicate records with identicalexternal_id,ssn,email, orwork_email, these records will not be processed, and appear in this array.
idxFor data submitted as arrays, such as people or bank accounts, in the errors responses you will see the index (idx) that corresponds to the index that item had in the input data .Example response
external_id to our system’s employee_uuid for successfully created employees / entities.
Department information People batch webhooks