Webhook Events
Account Disconnected
Sent when an account is disconnected, by you or by its owner on the platform. The API no longer returns the account, so keep its handle from this event if you need it.
Onepostly-Signature*stringt is the Unix time in seconds and v1 the hex HMAC-SHA256 of t, a period and the raw body, keyed with the webhook's secret. Verify it before you trust the body.
Onepostly-Event*"account.disconnected"The event name, the same as type.
"account.disconnected"Onepostly-Event-Id*stringThe event id, the same as id.
Onepostly-Delivery*stringThe delivery id, as List Deliveries shows it. It stays the same across attempts.
User-Agent*stringAlways Onepostly-Webhooks/1.0.
application/json- body
id*stringThe event id, starting with evt_. It stays the same on every retry, so use it as your idempotency key.
createdAt*stringWhen the event was created, in ISO 8601. It does not change between retries.
date-timeorganizationId*stringThe workspace the event belongs to.
type*"account.disconnected"The event name.
"account.disconnected"data*Holds object, the object the event is about, as it was when the event happened.
Acknowledges the delivery. Answer within 10 seconds, and do slow work after you answer.
{ "id": "evt_7c41e09a5b3d4f2e8a6c1b9d0e3f5a72", "createdAt": "2027-03-15T09:00:01.412Z", "organizationId": "5b0e7c1a-2f4d-4c8e-9a3b-6d1f0e2c4a7b", "type": "account.disconnected", "data": { "object": { "id": "acc_1699f4157fb643f49d2ac447491f32a8", "platform": "instagram", "handle": "onepostly", "status": "disconnected", "metadata": { "userId": "user_8412" } } }}{ "Onepostly-Signature": "t=1805101202,v1=48267c482b923179ab3b38f14e593896bfa7fde216b400b4ad697749d3ba95ef", "Onepostly-Event": "account.disconnected", "Onepostly-Event-Id": "evt_7c41e09a5b3d4f2e8a6c1b9d0e3f5a72", "Onepostly-Delivery": "dlv_9f3e6b2a4c1d4a8eb7f51d2c8e0a6b49", "User-Agent": "Onepostly-Webhooks/1.0"}Account Connected
Sent when an account is connected, or an existing account is reconnected. The object is the account, as Get Account returns it, with reconnected telling the two apart.
Account Expiring
Sent about 7 days before tokenExpiresAt for an account that cannot renew its authorization by itself. Reconnect it before then.