Skip to main content
You can create webhooks that subscribe to the events listed on this page. To limit the number of HTTP requests to your server, you should only subscribe to the specific events that you plan on handling. For more information, see Creating webhooks.

Delivery headers

When folk sends a webhook delivery, it will include the following special headers:
  • webhook-id: The unique identifier of the webhook event.
  • webhook-timestamp: The timestamp of the webhook delivery.
  • webhook-signature: The signature used to verify the authenticity of the webhook delivery. For more information, see validating webhook deliveries.

Payload format

folk webhooks send a thin payload with only the necessary information to identify the resource that the event occurred on, and based on the event type, it can optionally include the attributes that changed. The payload of the webhook delivery is a JSON object that will always contain the following fields:
string
required
The unique identifier of the webhook event.
string
required
The event type that occurred.
string
required
The date and time the event occurred, in ISO 8601 format.
string
required
The API URL of the webhook that delivered the event.
object
required
The data of the webhook delivery. It contains the properties that help identify the resource that the event occurred on.

Event list

Person events

This event occurs when a person is created in the workspace.Example:
This event occurs when a person’s native attributes or custom fields are updated.Example:
The description value is never included in the payload.
This event occurs when a person is deleted from the workspace.Example:
This event occurs when a person’s groups are updated.Example:
This event occurs when a person’s workspace interaction metadata is updated.Example:

Company events

This event occurs when a company is created in the workspace.Example:
This event occurs when a company’s native attributes or custom fields are updated.Example:
The description value is never included in the payload.
This event occurs when a company is deleted from the workspace.Example:
This event occurs when a company’s groups are updated.Example:

Object events

Object events are sent for objects of every type, such as deals. Their payloads carry no groupId or objectType field: read them from data.url, which has the form https://api.folk.app/v1/groups/{groupId}/{objectType}/{objectId}. Unlike people and companies, the custom field change paths of an object have no group ID, as in ["customFieldValues", "Status"]. See Custom objects.
This event occurs when an object is created in the workspace.Example:
This event occurs when an object is updated in the workspace.Example:
This event occurs when an object is deleted from the workspace.Example:

Note events

This event occurs when a note is created in the workspace.Example:
This event occurs when a note is updated in the workspace.Example:
The content value is never included in the payload.
This event occurs when a note is deleted from the workspace.Example:

Task events

Events of a private task are only sent to webhooks created by the task’s owner, the same user who can read it through the Tasks API. Events of a public task are sent to every webhook subscribed to the event. When a task becomes private, webhooks created by other users stop receiving its events, including the task.updated event for that change.
This event occurs when a task is created in the workspace, including the next occurrence of a recurring task when the current one is marked as done.Example:
This event occurs when a task is updated in the workspace. The changes can include title, description, dueAt, dueTime, recurrenceFrequency, isPublic, assignedUsers, entity.id and completedAt.Marking a task as to do triggers this event with completedAt set to null. Marking a task as done triggers task.completed instead.Example:
This event occurs when a task is marked as done in the workspace.Example:
This event occurs when a task is deleted from the workspace, including when the person, company or object it is linked to is deleted.Example:

Reminder events (deprecated)

Reminder events are deprecated and will be removed on February 13, 2027. Subscribe to task events instead. See the migration guide.
This event occurs when a reminder is created in the workspace.Example:
This event occurs when a reminder is updated in the workspace.Example:
This event occurs when a reminder is deleted from the workspace.Example:
This event occurs when a reminder is triggered in the workspace.Example:

Person enrichment events

This event occurs once per enrichment, when it is over: its status becomes completed or failed. Enrichments requested through the API and enrichments started from the folk app both trigger it.The payload doesn’t include the result for each person: get the enrichment from data.url with Get an enrichment of people to read its items and summary.The changes always include:
  • status: completed or failed.
  • errorReason: why the enrichment failed, or null if it completed.
  • finishedAt: when the enrichment completed or failed.
This event has no filters.Example:

Filtering events

Through the API, it is also possible to add filters to events in order to narrow down the notifications you receive. Filters allow you to achieve advanced workflow capabilities, such as:
  • Only receive notifications when a person is added to a specific group.
  • Only receive notifications when a company is moved to a specific pipeline status.
  • Only receive notifications when a deal from a specific group is updated.
Each event type has a different set of filters that can be used. Refer to the create a webhook and update a webhook API references for more information.