Document Events

When subscribed to the Document webhooks you will receive the following events:

event_typedescriptionreferences
contractor.document.createdContractor document has been created{"contractor_uuid": ""}
contractor.document.updatedContractor document has been updated{"contractor_uuid": ""}
contractor.document.signedContractor document has been signed{"contractor_uuid": ""}

Document webhooks contain references that will have the additional UUIDs to call the Gusto API.

Example payload

{
  "uuid": "03c6b0db-3e68-4586-8ee3-6e7f76ba5cd0",
  "event_type": "contractor.document.updated",
  "resource_type": "Company",
  "resource_uuid": "9cacfb94-d16c-482c-a59d-600a8994bcc1",
  "entity_type": "Document",
  "entity_uuid": "374f9593-8823-4021-a64d-a10195d37db9",
  "timestamp": 1671058841,
  "references": {
    "contractor_uuid": "9cacfb94-d16c-482c-a59d-600a8994bcc1"
  }
}