Baack

Webhooks

How Baack tells your systems about changes, and every subject you can subscribe to. The subjects are generated from the API's OpenAPI specification.

Browse the docs

How a webhook works

A subscription watches one subject, such as a task or a content entity, for the events you choose. When a change matches, Baack sends a POST request to the subscription's destination URL. Return a 200 status to confirm you've received it.

Subscription
What to watch and where to send it: a subject, an event, a destination URL, how Baack authenticates to it, a limit on events per minute and an expiry time.
Trigger
One change that matched: its subject and event, the URN of what changed, when it happened, and the subscriptions and deliveries that followed.
Event
The message your endpoint receives: the trigger, the subscription, and a link to the record that changed. It never holds the record's content.
Delivery
One attempt to send an event, recorded on its trigger: the attempt number, its status, your HTTP response code, and when it started and ended.

Events

A subscription's event is one of: ALL, CREATE, UPDATE, DELETE

What to expect

  • Updating a content item inserts a new draft rather than changing the old value, so an update's webhook gives you the new draft.
  • A rendered entity view has no webhook, because it's put together when it's read. Subscribe to the entity and its content items instead.
  • An identity's webhook can arrive before its person, and a person's before its name, so don't expect the related records to exist yet.
  • When a subscription is disabled, its expiry time is set to now. Subscribe to WEBHOOK_SUBSCRIPTION so that losing one doesn't go unnoticed.

Subjects

Each subject's page has its description, and the fields of the object it's about.

Community

  • Group GROUP

    Webhook for membership group updates normally used for new group updates or name changes

  • Group Membership GROUP_MEMBERSHIP

    Webhook for events related to membership of a group for an identity.

  • Message Thread MESSAGE_THREAD

    Message threads (AKA chat or messaging) events allow your integration to be notified on thread update

  • Message Thread Notification MESSAGE_THREAD_NOTIFICATION

    Notification updates webhook with changes (creation / modification) to a single notification

  • Thread post THREAD_POST

    Webhook events related to the creation of a message thread (AKA chat or messaging) post.

Company

  • Company COMPANY

    Webhook for updates to companies e.g. company structures or new customer company creation.

Content

  • Boolean Item BOOLEAN_ITEM

    Webhook for Boolean (truthy) content items.

  • Date Time Item DATETIME_ITEM

    Webhook events for date / time (timestamp) content item lifecycle.

  • Double Item DOUBLE_ITEM

    Double content item webhook event for floating point value (double precision) representations

  • Entity ENTITY

    Webhook for updates related to content entities as well as company, membership group and other internal content entities.

  • Entity List ENTITY_LIST

    Webhook for changes to an entity list e.g. adding a new item to a list (like blogpost listing)

  • Image Item IMAGE_ITEM

    Webhook events related to updates to an image item associated with an entity.

  • JSON Item JSON_ITEM

    Webhook for JSON content item updates associated with a content entity

  • Latitude / Longitude item LATLONG_ITEM

    Webhook events for Latitude / Longitude content items associated with a content entity.

  • Link Item LINK_ITEM

    Webhook for the link content item type

  • Long item LONG_ITEM

    Webhook for Long (64 bit signed) integer values updates

  • Markdown Item MARKDOWN_ITEM

    Webhook event for updates to markdown content items associated with an entity

  • Money Item MONEY_ITEM

    Webhook event for updates to money items associated with content entities.

  • Reference Item REFERENCE_ITEM

    Webhook for references from one entities content to another entity

  • Template Item TEMPLATE_ITEM

    Webhook for updates to template content items associated with an entity

  • Text Item TEXT_ITEM

    Webhook for text content item updates associated with a content entity.

Customer

  • Deal DEAL

    Webhook for changes to customer deals like deal creation, update or deletion.

  • Lead LEAD

    Webhook for updates related to lead creation and updates.

Identity

  • Address ADDRESS

    Webhook for events related to an address associated with an identity

  • Client Identifier CLIENT_IDENTIFIER

    Webhook for identity related arbitrary client identifiers

  • Email EMAIL

    Webhook for events related to identity email addresses

  • Identity IDENTITY

    Webhook for identity events to listen for updates to identities on the platform.

  • Person PERSON

    Webhook events for updates to a person associated with an identity.

  • Person Name PERSON_NAME

    Webhook for events related to associating a person name with an identity.

  • Telephone TELEPHONE

    Webhook for events related to association of a telephone number with an identity.

Payment

  • Payment Invoice PAYMENT_INVOICE

    Webhook for payment / invoice update events like the payment status changes

  • Payment Invoice Line PAYMENT_INVOICE_LINE

    Webhook for changes to payment invoice line items like creation, ordering or removal.

  • Payment Invoice Remittance PAYMENT_INVOICE_REMITTANCE

    Payment invoice remittance changes like payment creation

Platform

  • API Client API_CLIENT

    API client webhook allows your integration to monitor when clients are created or updated

  • API Client Bearer Token BEARER_TOKEN

    Webhook for API client bearer token events to monitor API token state.

  • OAuth Token OAUTH_TOKEN

    Webhook for deletion notification for Oauth tokens. The OAuth token endpoint is primarily used for revocation of OAuth tokens for integrations.

  • Permission PERMISSION

    Webhook for updates related to permission grants

  • Role ROLE

    Webhook for updates related to a permission role for Role Based Access Control (RBAC)

Project

  • Project PROJECT

    Webhook for updates related to projects on the platform

  • Task TASK

    Webhook for updates related to tasks on the platform

  • Workflow WORKFLOW

    Webhook updates related to workflows related to projects and tasks.

Webhook

  • Webhook Subscription WEBHOOK_SUBSCRIPTION

    Webhook for listening updates related to webhook subscriptions for your company.