GuidesAPI ReferenceChangelogAPI PolicyAPI StatusGusto Security
API Reference
v2023-09-01 is in the deprecation process and all prior versions have been deprecated. Click this banner to review our version upgrade guide.

Get a notification's details

Upon receiving a notification webhook event, use this endpoint to fetch the notification's details. The notification details include basic suggested content that can help you build notifications in your platform.

Note: partners are responsible for the delivery and any custom state management of notifications in their application. Refer to our partner notification guide for more details.

If the notification UUID is not found, the response will be 404 Not Found. If the notification's supporting data is no longer valid, the response will be 422 Unprocessable Entity.

scope: notifications:read

Path Params
string
required

The notification entity_uuid

Headers
string
Defaults to 2024-04-01

Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.

Responses

Response body
object
string
required

Unique identifier of a notification.

string

Unique identifier of the company to which the notification belongs.

string

The title of the notification. This highlights the actionable component of the notification.

string

The message of the notification. This provides additional context for the user and recommends a specific action to resolve the notification.

string

The notification's category.

boolean

Indicates whether a notification requires action or not. If false, the notification provides critical information only.

string

Timestamp of when the notification was published.

string

Timestamp of when the notification is due. If the notification has no due date, this field will be null.

resources
array of objects

An array of entities relevant to the notification

resources
object
string
required

The type of entity being described, could be “Contractor”, “Employee”, “BankAccount”, “Payroll”, “ContractorPayment”, “RecoveryCase”, or “Signatory”

string
required

Unique identifier of the entity

string

Optional. The type of a resource that is related to the one described by entity_type and entity_uuid. For instance, if the entity_type is “BankAccount”, the reference_type could be the “Employee” or “Contractor” to whom the bank account belongs.

string

Optional. Unique identifier of the reference.

404

Not Found

The requested resource does not exist. Make sure the provided UUID is valid.

invalid_attribute_value, or the request fails due to an invalid_operation. See the Errors Categories guide for more details.

Language
Credentials