GuidesAPI ReferenceChangelogAPI StatusAPI PolicyGusto Security
Guides

Time Off Request Events

Gusto emits webhook events throughout the time off request lifecycle — when a request is created, modified, or removed. Subscribe to these events to keep your platform in sync without polling.

For general webhook setup and subscription management, see Webhooks.

Events

Event typeTrigger
time_off_request.createdA new time off request is submitted by an employee, or created by an admin via the admin_approved_requests endpoint
time_off_request.updatedA request's fields are modified (e.g., days, notes, or status changed)
time_off_request.deletedA request is deleted (hard delete) or soft-deleted (status changed to deleted)
📘

When a request is soft-deleted, only time_off_request.deleted is emitted—no updated event fires for the status change to deleted.

Payload

The entity_type is always TimeOffRequest and the resource_type is always Company.

{
  "uuid": "844fd02f-e489-4839-ba93-6a2ced81005a",
  "event_type": "time_off_request.updated",
  "resource_type": "Company",
  "resource_uuid": "a4d13b1e-2f89-4c3b-a5d8-7e6c94f21a3d",
  "entity_type": "TimeOffRequest",
  "entity_uuid": "ad158cfb-99e4-4741-9db3-0bd3a267f222",
  "timestamp": 1671058841
}
FieldTypeDescription
uuidstringUnique identifier for this webhook delivery
event_typestringOne of the event types listed above
resource_typestringAlways "Company"
resource_uuidstringUUID of the company the request belongs to
entity_typestringAlways "TimeOffRequest"
entity_uuidstringUUID of the time off request
timestampintegerUnix timestamp of when the event occurred

To retrieve the full request object after receiving an event, call GET /v1/time_off/requests/{time_off_request_uuid} using the entity_uuid.

Related guides