Webhooks

You can use Webhooks to subscribe to certain events when they occur. Webhooks provide a way to respond to real-time events as they happen without having to constantly poll the API. When an event occurs that matches your webhook scope, a POST HTTP request will be sent to your webhook URL.

Scopes

Projects:

ScopeDescription
project.createdFires when a project is created.
project.updatedFires when a project is updated.
project.deletedFires when a project is deleted.
project.date.updatedFires when any dates of a project is updated.
project.linkedFires when a project gets linked.
project.financialkpiFires when financial KPI is updated
project.status.updatedFires when a project status changed.

Tasks:

ScopeDescription
task.createdFires when a task is created.
task.updatedFires when a task is updated.
task.deletedFires when a task is updated.
task.in-progressFires when a task is started.
task.completedFires when a task is completed.

Contacts:

ScopeDescription
contact.createdFires when a contact is created.
contact.updatedFires when a contact is updated.
contact.deletedFires when a contact is deleted.

Organizations:

ScopeDescription
organization.createdFires when an organization is created.
organization.updatedFires when an organization is updated.
organization.deletedFires when an organization is deleted.

Relationship Activities:

ScopeDescription
relationship.activity.createdFires when a relationship activity is created.
relationship.activity.updatedFires when a relationship activity is updated.
relationship.activity.deletedFires when a relationship activity is deleted.

Scheduler:

ScopeDescription
schedule.event.createdFires when a scheduled event is created.

Albi Project Payments:

ScopeDescription
{project.payments.created}Fires when a project payment is created.
{project.payments.update}Fires when a project payment is updated.
{project.payments.deleted}Fires when a project payment is deleted.
{project.payments.void}Fires when any dates of a project payment is voided.

Expenses:

ScopeDescription
{project.expenses.created}Fires when a project expense is created.
{project.expenses.update}Fires when a project expense is updated.
{project.expenses.deleted}Fires when a project expense is deleted.
{project.expenses.void}Fires when any dates of a project expense is voided.

Payload

Webhook notifications are POSTs with a JSON body. The response body contains the following fields:

{
    "Entity": "project",
    "EntityId": 1,
    "Scope": "project.created"
}
FieldDescription
EntityThe name of the entity that changed (project, contact, etc.)
EntityIdThe ID of the changed entity
ScopeThe scope of change