Skip to main content
Events record meaningful changes to resources in your organization. When something changes, Syntage creates an Event resource. For example, submitting an entity’s SAT credential can create credential and entity events, and a completed extraction can create an extraction.updated event. Many requests can create more than one event. For example, submitting valid SAT credentials for an entity can create credential.created, credential.updated, and link.created events. Events occur when the state of another resource changes. The state of that resource at the time of the change is embedded in the event’s data field. For example, a credential.updated event contains a Credential, and an invoice.updated event contains an Invoice. Use the Events endpoints to retrieve recent events directly. Use webhooks when you want Syntage to deliver events to your server automatically.
Access to events is only guaranteed for 7 days.
Entity lifecycle events still use the link.* event type names for backwards compatibility.

How Events Are Used

  1. Subscribe to webhooks when your integration needs to react automatically to resource changes.
  2. Store the event ID from each webhook request or Events response so your integration can deduplicate processing.
  3. Use type to route the event to the correct handler.
  4. Use resource to retrieve the current version of the changed resource when needed.
  5. Use data.object when you need the resource state captured at the time the event was created.
The Events endpoints are useful for backfills, debugging, and reconciliation. Webhooks are the best fit for ongoing delivery. For implementation details, see Event examples.

Event Types

The suffix describes the kind of change: