Skip to content
AtheronDEVELOPERS
← Webhooks

Event: membership.changed

The plan of somebody who granted you the membership scope changed.

Sign in to see your own test client ID in the samples.

The plan of somebody who granted you the membership scope changed.

Payload

FieldTypeWhat it is
idstringThe event's id, the same as the Atheron-Event-Id header
typestringmembership.changed
createdstring (ISO 8601)When the event was raised
client_idstringThe client (test or live) it is about
data.substringThe person's ID for your app alone (pairwise): the sub your app was given.
data.atstring (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.

Ask Atlas

AI assistant

Ask anything about Sign in with Atheron, the API or the portal. You get an answer from our docs, with links to the pages it used.