Webhook Events
Account Expired
Sent when the account's authorization expired. Reconnect the account to publish to it again.
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.expired"The event name, the same as type.
"account.expired"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.expired"The event name.
"account.expired"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.expired", "data": { "object": { "id": "acc_1699f4157fb643f49d2ac447491f32a8", "platform": "instagram", "handle": "onepostly", "status": "expired", "reason": "expired", "tokenExpiresAt": "2027-05-14T09:00:00.000Z", "previousStatus": "active" } }}{ "Onepostly-Signature": "t=1805101202,v1=48267c482b923179ab3b38f14e593896bfa7fde216b400b4ad697749d3ba95ef", "Onepostly-Event": "account.expired", "Onepostly-Event-Id": "evt_7c41e09a5b3d4f2e8a6c1b9d0e3f5a72", "Onepostly-Delivery": "dlv_9f3e6b2a4c1d4a8eb7f51d2c8e0a6b49", "User-Agent": "Onepostly-Webhooks/1.0"}