Webhook
A representation of the webhook object
Property
Type
Description
url
string
The URL of the webhook endpoint.
secret
string
The endpoint’s secret used to generate webhook signatures.
events
array
The list of events to enable for this endpoint. Allowed values: ["meetingScheduled", "meetingCancelled", "meetingRescheduled"]
created_at
string
The ISO-8601 time at which the object was created.
uuid
string
Unique identifier (UUID v4) of the object.
The example webhook object
The example request that's being made when the meeting is scheduled
Request Method: POST
Request headers:
Header
Description
webhook-signature
Harmonizely can optionally sign the webhook events it sends to your endpoints by including a signature in each event’s Webhook-Signature header. This allows you to verify that the events were sent by Harmonizely, not by a third party
user-agent
The user agent. Always set to Harmonizely
.
Request payload:
Verifying signature manually
Harmonizely generates webhook signatures using a hash-based message authentication code (HMAC) with SHA-256 which is then base64 encoded.
Determine the expected signature
Compute an HMAC with the SHA256 hash function and encode it using base64. Use the webhook’s signing secret as the key, and use the request's payload string as the message.
Example in PHP:
2. Compare the signatures
Compare the signature in the webhook-signature
header to the expected signature.
Last updated