Skip to main content
WEBHOOK

Headers

Signature
string
required

HMAC SHA256 signature of the request body. Generated using the webhook's signing key and the raw JSON payload.

Generate the same value in your endpoint and compare it with this header to validate the webhook payload.

Example:

"a1b2c3d4e5f67890abcdef1234567890abcdef1234567890abcdef1234567890"

Body

application/json

Payload delivered for organisation-related events. See Organisation events for when each event is sent.

Single organisation, including the administrator, logo, authorised domains, and custom field values.

administrator
object | null

User who administers the organisation, or null when the organisation has no administrator.

created
string<date-time>

Date and time when the organisation was created.

id
string

ID of the organisation.

member_count
integer

Number of members in the organisation.

Required range: x >= 0
name
string

Name of the organisation.

updated
string<date-time>

Date and time when the organisation was last updated.

authorised_domains
object[]

Email domains used to associate new users with the organisation.

logo
object | null

The organisation's logo file, or null when it has none.

organisation_fields
object[]

Values of the custom fields related to organisations.

event
string

Human-readable name of the event that triggered the webhook.

Example:

"Organisation created"

timestamp
string<date-time>

ISO 8601 formatted datetime indicating when the event occurred.

Example:

"2020-01-01T00:00:00Z"

trigger
string

Machine-readable event key that fired the webhook. Full list of events can be found here.

Example:

"organisation_created"

source
enum<string>
default:ui

Origin of the change that triggered the event.

Available options:
ui,
api

Response

200

Return any 2xx status code to acknowledge receipt of the event.