Skip to main content

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:

  1. Navigate to Admin Settings > CRM.
  2. Toggle Enable CRM Integration.
  3. 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 80 or 8080 (HTTP) or 443 or 8443 (HTTPS).
  • Return a response no larger than 32KB.
  • Respond within 10 seconds with a 2xx success code.

Security & Verification​

To verify that requests are legitimately coming from Hootsuite, use the Shared Secret provided in the CRM settings UI.

  1. Capture the X-Hootsuite-Timestamp header and the raw POST body.
  2. Concatenate them: timestamp + body.
  3. Calculate a SHA-512 HMAC hex digest using your Shared Secret as the key.
  4. Compare the result to the X-Hootsuite-Signature header.