# account.restricted

A social account failed its last three publishes with the same account-level error: the platform suspended or banned it, restricted or locked it, asks for an identity or security check, or stopped accepting its login.

### When it fires

Once per restriction, on the third identical failure in a row. Further failures do not fire it again.

### What changes

`POST /v1/posts` with `publishNow` (or a time already past) to this account answers 422 `account_restricted`, because it would fail the same way. Scheduled posts are still accepted.

Fix the account on the platform, then reconnect it to lift the check at once; otherwise the next successful publish lifts it (`account.recovered`). 24 hours after the last failure one publish-now is let through again.




**Payload for `account.restricted`:**

- **id** (required) `string`: No description
- **profiles**: `WebhookProfiles` - See schema definition
- **test** `boolean`: Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
- **event** (required) `string`: No description - one of: account.restricted
- **account** (required) `object`: 
  - **accountId** (required) `string`: No description
  - **profileId** (required) `string`: No description
  - **platform** (required) `string`: No description
  - **username** (required) `string`: No description
  - **displayName** `string,null`: No description
- **restriction** (required) `object`: 
  - **reason** (required) `string`: `suspended`: banned or suspended by the platform. `restricted`: locked, restricted or blocked from posting. `verification_required`: the platform asks for an identity or security check. `auth_expired`: the login stopped working; reconnect. - one of: restricted, suspended, verification_required, auth_expired
  - **message** (required) `string`: The error the last failed post carries.
  - **platformError** (required) `object,null`: Meta's error code and subcode, for Instagram and Facebook.
  - **consecutiveFailures** (required) `integer`: Identical failures in a row that restricted the account.
  - **since** (required) `string` (date-time): No description
  - **postId** (required) `string`: The post whose failure restricted the account.
- **timestamp** (required) `string` (date-time): No description