Guides
Webhooks
Add an https endpoint under Developers → Webhooks and choose its events. We POST one JSON event per call.
We POST JSON to your https endpoint. Answer with any 2xx within 10 seconds. Anything else is retried after 1 min, 5 min, 30 min, 2 h and 6 h, then every 12 h until 3 days after the first try; then the endpoint is paused and the owner is told. The same event can arrive twice: use id to do the work once.
Headers
HivePost-SignaturestringRequiredt=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">, made with the endpoint's signing secret (whsec_…, shown once when you add the endpoint or roll the secret). Check it against the raw body before you parse it, and refuse times more than 5 minutes away.HivePost-EventstringRequiredThe event's type, the same as
typein the body.One of
post.published,post.failed,account.connected,account.disconnectedHivePost-DeliverystringRequiredThis delivery's id; the same on every retry of it.
HivePost-AttemptstringRequired1 for the first try, then 2, 3 and so on.
Check the signature
HivePost-Signature is t=<unix seconds>,v1=<hex>: an HMAC-SHA256 of <t>.<raw body> with the endpoint's signing secret (whsec_…). Check it on the raw body before parsing, and refuse times more than 5 minutes away. The Node code is on the right.
Events
post.published
A post went live on an account.
post_idstringRequiredbrand_idstringRequiredaccount_idstringRequirednetworkstringRequiredOne of
instagram,facebook,tiktok,youtube,linkedin,threads,pinterest,blueskystatus"live"Requiredexternal_idstring or nullRequiredThe network's id for the post.
urlstring or nullRequiredpublished_atdate-time or nullRequired
post.failed
A post failed or is on hold.
post_idstringRequiredbrand_idstringRequiredaccount_idstringRequirednetworkstringRequiredOne of
instagram,facebook,tiktok,youtube,linkedin,threads,pinterest,blueskystatusstringRequiredblocked: on hold until the account is reconnected.One of
failed,blockederrorobjectRequired
account.connected
An account was connected or reconnected.
account_idstringRequiredbrand_idstringRequirednetworkstringRequiredOne of
instagram,facebook,tiktok,youtube,linkedin,threads,pinterest,blueskynamestringRequiredstatusstringRequiredOne of
connected,needs_attention,disconnectedexternal_idstring or nullRequiredYour id for the customer, when the account came in through a connect link.
account.disconnected
An account was disconnected or lost access.
account_idstringRequiredbrand_idstringRequirednetworkstringRequiredOne of
instagram,facebook,tiktok,youtube,linkedin,threads,pinterest,blueskynamestringRequiredstatusstringRequiredOne of
connected,needs_attention,disconnectedexternal_idstring or nullRequiredYour id for the customer, when the account came in through a connect link.