Webhook Overview
Webhooks allow applications to receive HTTP callbacks in real-time when events happen in Hootsuite, specifically for Inbox 2.0 CRM integrations. Rather than polling the REST API, your system is notified immediately when customer data is requested or a conversation needs to be logged.
Core Functionality​
Hootsuite Inbox 2.0 utilizes two primary webhook types to synchronize data between social conversations and your CRM:
- Lookup Webhook: Triggered when an agent opens a conversation. Inbox 2.0 queries this URL to fetch contact attributes from your CRM.
- Writeback Webhook: Triggered to send conversation details back to your CRM system for record-keeping.
For a complete list of endpoints and schemas, see the General Inbox Webhooks Reference.
Registration & Configuration​
To enable these webhooks, you must provide your endpoint URLs within the Hootsuite dashboard:
- Navigate to Admin Settings > CRM.
- Toggle Enable CRM Integration.
- Enter your Lookup URL and/or Writeback URL in the Configuration section.
URL Restrictions​
The webhook URL you use must:
- Resolve to a public IP address not owned by Hootsuite.
- Accept traffic on port
80or8080(HTTP) or443or8443(HTTPS). - Return a response no larger than 32KB.
- Respond within 10 seconds with a
2xxsuccess code.
Security & Verification​
To verify that requests are legitimately coming from Hootsuite, use the Shared Secret provided in the CRM settings UI.
- Capture the
X-Hootsuite-Timestampheader and the rawPOSTbody. - Concatenate them:
timestamp + body. - Calculate a SHA-512 HMAC hex digest using your Shared Secret as the key.
- Compare the result to the
X-Hootsuite-Signatureheader.