# account.permissions_changed

A publish on an account connected through your own OAuth app failed for a missing permission.

### Behaviour

The account stays connected and its token still works. `account.missingScopeAreas` accumulates the affected areas, today `posting`. Each area sends one event, however many posts fail afterwards.

### When it does not fire

Accounts not connected through your own OAuth app.




**Payload for `account.permissions_changed`:**

- **id** (required) `string`: Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery.
- **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.
- **event** (required) `string`: No description - one of: account.permissions_changed
- **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`: No description
  - **oauthAppId** (required) `string`: The OAuth app the account connected through.
  - **missingScopeAreas** (required) `array[string]`: Every area now missing. Enable the permission on your app (or have the user grant it), then reconnect the account.
  - **reason** (required) `string`: The platform error that revealed it.
- **timestamp** (required) `string` (date-time): No description