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 (optionalcontact.attributes,topics)OUTBOUND_MESSAGE_SENT— outbound on your channel outside Inbox (main use); optional after send-outbound-message with the samemessage.id(optionalcontact.attributes,topics)OWNERSHIP_TAKEN— your side takes contact-scoped ownershipOWNERSHIP_RELEASED— your side releases ownership (optionalfinishedBy)
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 always1timestamp— when the event was sent (ISO-8601); reject stale events (for example older than five minutes) to mitigate replayidempotencyKey— unique per event; retries reuse the same key so Hootsuite can deduplicate (409if 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).
INBOUND_MESSAGE_RECEIVED
INBOUND_MESSAGE_RECEIVED
OUTBOUND_MESSAGE_SENT
OUTBOUND_MESSAGE_SENT
OWNERSHIP_TAKEN
OWNERSHIP_TAKEN
OWNERSHIP_RELEASED
OWNERSHIP_RELEASED