added
Added Get All Notifications endpoint
9 days ago by Gusto Developer Relations
We've added an endpoint /v1/companies/{company_uuid}/notifications to fetch all notifications for a given company.
Why: So partners can easily fetch all the notifications for a company and quickly build an in-app UI that surfaces the open tasks for their users
Example response
[
{
"uuid": "09d47346-f948-4324-8418-8d4a105ff2b7",
"company_uuid": "f47e637e-d6ca-4cb5-a88e-f7c0e7409d14",
"category": "company_setup.missing_mandatory_sick_time_policy",
"title": "Set up a sick time off policy",
"message": "At least one company work location requires businesses to provide a sick time off policy.",
"actionable": true,
"can_block_payroll": false,
"published_at": "2025-06-04T11:22:27.000-07:00",
"due_at": null,
"status": "open",
"resources": [],
"template_variables": {}
},
{
"uuid": "2d6cc5d7-e03b-4cf6-a4bc-aa713fc7a7a0",
"company_uuid": "f47e637e-d6ca-4cb5-a88e-f7c0e7409d14",
"category": "bank_error.compensation_credit_failure",
"title": "Unable to deposit funds to Doyle Corwin",
"message": "We were unable to deposit a recent paycheck to Doyleβs bank account, so these funds of $100.00 will be returned to Sawayn-Ferryβs bank account. Once the funds are received, the payment should be made directly to Doyle.",
"actionable": true,
"can_block_payroll": false,
"published_at": "2025-06-04T11:22:28.000-07:00",
"due_at": null,
"status": "open",
"resources": [
{
"entity_type": "Employee",
"entity_uuid": "6344f827-d62e-41eb-8b72-9b9edfb8718f"
}
],
"template_variables": {
"beneficiary_name": "Doyle Corwin",
"amount": "$100.00",
"company_name": "Sawayn-Ferry"
}
}
]