Event: membership.changed
The plan of somebody who granted you the membership scope changed.
مثالوں میں اپنی ٹیسٹ کلائنٹ آئی ڈی دیکھنے کے لیے سائن اِن کریں۔
The plan of somebody who granted you the membership scope changed.
Payload
| Field | Type | What it is |
|---|---|---|
id | string | The event's id, the same as the Atheron-Event-Id header |
type | string | membership.changed |
created | string (ISO 8601) | When the event was raised |
client_id | string | The client (test or live) it is about |
data.sub | string | The person's ID for your app alone (pairwise): the sub your app was given. |
data.at | string (ISO 8601) | When it changed. |
json
{
"id": "6f0c2e1a-8b0d-4f4e-9a51-2c1d7e9b3a10",
"type": "membership.changed",
"created": "2026-10-15T17:02:11.000Z",
"client_id": "live-1a2b3c4d5e6f7a8b",
"data": { "sub": "9a6d4c1e-1f0b-4a51-8a8e-3b2f6c0d7e11", "at": "2026-10-15T17:02:11.000Z" }
}What to do
Call userinfo with a fresh access token to read the new plan. The event never carries the plan itself.
Checking it
Check the signature before you act on it (how), and answer 2xx within ten seconds.
Atlas سے پوچھیں
AI اسسٹنٹAtheron کے ساتھ سائن ان، API یا پورٹل کے بارے میں کچھ بھی پوچھیں۔ جواب ہماری دستاویزات سے آتا ہے، استعمال شدہ صفحات کے لنک کے ساتھ۔