How to configure webhooks
- Log in to your Gojiberry AI account at https://app.gojiberry.ai
- Navigate to the Integrations page at https://app.gojiberry.ai/integrations
- Add a Webhook integration by clicking the Webhook option
- Enter your webhook URL where you want to receive notifications
- Save the configuration
- A new contact is created
- A contact is updated
- Other relevant events occur in your account
x-gojiberry-user-id containing your user ID for verification purposes.
Verifying webhook signatures (optional)
You can configure a signing secret on your Webhook integration. When a secret is set, every webhook request also includes:x-gojiberry-timestamp: the Unix timestamp (in seconds) at which the request was sentx-gojiberry-signature:sha256=followed by the hex-encoded HMAC-SHA256 of{timestamp}.{rawBody}computed with your signing secret
- Read the raw request body as a string (do not re-serialize parsed JSON).
- Concatenate the value of
x-gojiberry-timestamp, a.character, and the raw body. - Compute the HMAC-SHA256 of that string using your signing secret, hex-encoded, and prefix it with
sha256=. - Compare it to
x-gojiberry-signatureusing a constant-time comparison. - Reject requests whose timestamp is too old (we recommend a 5 minute tolerance) to prevent replay attacks.
.png?fit=max&auto=format&n=fLzJlZyi7L0nfF9B&q=85&s=7dc539f8ea9f771a09a9750c1227ebdb)
.png?fit=max&auto=format&n=fLzJlZyi7L0nfF9B&q=85&s=e742bcbb4bd47cd295da36c48cdd6089)