Webhook Events
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.
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.connected"The event name, the same as type.
"account.connected"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.connected"The event name.
"account.connected"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.connected", "data": { "object": { "id": "acc_1699f4157fb643f49d2ac447491f32a8", "platform": "instagram", "displayName": "Onepostly", "handle": "onepostly", "avatarUrl": "https://cdn.onepostly.com/avatars/onepostly.jpg", "status": "active", "canAutoRenew": true, "tokenExpiresAt": "2026-12-25T10:00:00.000Z", "profile": "Business", "metadata": { "userId": "user_8412" }, "createdAt": "2026-08-25T10:00:00.000Z", "updatedAt": "2026-08-25T10:00:00.000Z", "reconnected": false } }}{ "Onepostly-Signature": "t=1805101202,v1=48267c482b923179ab3b38f14e593896bfa7fde216b400b4ad697749d3ba95ef", "Onepostly-Event": "account.connected", "Onepostly-Event-Id": "evt_7c41e09a5b3d4f2e8a6c1b9d0e3f5a72", "Onepostly-Delivery": "dlv_9f3e6b2a4c1d4a8eb7f51d2c8e0a6b49", "User-Agent": "Onepostly-Webhooks/1.0"}