app.scopes_updated
The merchant approves new scopes.
- Type
- Install event
- Requires
- Nothing: every app with a notification address
- Attempts
- 4 in all, 1 min, 5 min, 30 min apart
When it is sent
When the store owner accepts the consent screen again for an app already installed, for example after you added a scope.
Payload
The body carries the notification id, the event name, your app id, the store id, the event time, and the event's data in data.
| Field | Type |
|---|---|
id | string |
event | string |
app_id | string |
store_id | integer |
occurred_at | string |
data | object |
data.scopes | array |
{
"id": "a4c7e2f1-3b9d-4e6a-8c1f-5d2b7e9a0c36",
"event": "app.scopes_updated",
"app_id": "app_…",
"store_id": 1042,
"occurred_at": "2026-11-04T09:00:00+03:00",
"data": {
"scopes": [
"store.read",
"orders.read",
"webhooks.read"
]
}
}
Sample data. New fields may be added; ignore the ones you do not know.
Headers
| Header | Description |
|---|---|
X-Naqllah-Signature-V2 | The signature to verify: t=<send time>,v1=<HMAC-SHA256 of t, a dot and the body>, made at each attempt. Refuse a t more than 5 minutes from your clock. |
X-Naqllah-Signature | The older signature: sha256= followed by the HMAC-SHA256 of the body alone, with the webhook secret. Kept for integrations built before the timestamped one. |
X-Naqllah-Event | The event name. |
Content-Type | application/json |
Handling it
- Verify the signature in
X-Naqllah-Signature-V2before anything else: Verifying signatures. - Skip it if you already processed this
id. - Answer 2xx within 5 seconds, then do the work in the background.
- Update what you keep for this store: its scopes, or delete its data on uninstall.
Version v1.0.0 Changelog Service status openapi-v1.json Support