Skip to main content

Integrator › Webhooks

You send events to Hootsuite with an HTTP POST to:

https://webhooks.hootsuite.com/custom/webhook/{socialProfileId}

Sign each request with X-Hootsuite-Signature. See Introduction for HMAC details.

Events​

  • INBOUND_MESSAGE_RECEIVED — inbound message from a contact (optional contact.attributes, topics)
  • OUTBOUND_MESSAGE_SENT — outbound on your channel outside Inbox (main use); optional after send-outbound-message with the same message.id (optional contact.attributes, topics)
  • OWNERSHIP_TAKEN — your side takes contact-scoped ownership
  • OWNERSHIP_RELEASED — your side releases ownership (optional finishedBy)

Common fields​

All events share the same envelope:

  • type — event discriminant (INBOUND_MESSAGE_RECEIVED, OUTBOUND_MESSAGE_SENT, OWNERSHIP_TAKEN, OWNERSHIP_RELEASED). New types may be added; do not fail on unknown values when acting as a generic receiver.
  • version — payload version; currently always 1
  • timestamp — when the event was sent (ISO-8601); reject stale events (for example older than five minutes) to mitigate replay
  • idempotencyKey — unique per event; retries reuse the same key so Hootsuite can deduplicate (409 if already processed)
  • data — event-specific payload (see each operation)

Requirements​

Respond with 200 when the event is accepted. Use 400 for malformed payloads, 401 for signature failures, and 503 for a temporary processing failure (retry with the same idempotencyKey).