نقلة
Docs menuapp.scopes_updated

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.

FieldType
idstring
eventstring
app_idstring
store_idinteger
occurred_atstring
dataobject
data.scopesarray
app.scopes_updated · JSON
{
    "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

HeaderDescription
X-Naqllah-Signature-V2The 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-SignatureThe 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-EventThe event name.
Content-Typeapplication/json

Handling it

  1. Verify the signature in X-Naqllah-Signature-V2 before anything else: Verifying signatures.
  2. Skip it if you already processed this id.
  3. Answer 2xx within 5 seconds, then do the work in the background.
  4. 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