SynqDocs
Management APIOrgs

List who left an org

Everyone who left the org or was removed from it and isn't a member again, newest first: who they were, the role they had, when they joined and left, and whether they left themselves or who removed them. Read from the audit log's `member.left` and `member.removed` entries, so it reaches as far back as the org's plan keeps its log (`audit_retention_days` in `GET /v1/plans`). Their access ended when they went; filter the audit log by their `user_id` (`actor`) to see what they did. Needs `org.members.view`.

GET/v1/orgs/{org}/former-members

Everyone who left the org or was removed from it and isn't a member again, newest first: who they were, the role they had, when they joined and left, and whether they left themselves or who removed them. Read from the audit log's member.left and member.removed entries, so it reaches as far back as the org's plan keeps its log (audit_retention_days in GET /v1/plans). Their access ended when they went; filter the audit log by their user_id (actor) to see what they did. Needs org.members.view.

Authorization

bearer
AuthorizationBearer <token>

An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.

In: header

Path Parameters

org*string

The org's id

Match^org_[0-9a-hjkmnp-tv-z]{26}$

Query Parameters

limit?integer

At most this many items, 200 at the most.

Range1 <= value <= 200
Default50
cursor?string

The previous page's next_cursor, for the page after it.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.synq.build/v1/orgs/org_01h455vb4pex5vsknk084sn02q/former-members" \  -H "Authorization: Bearer $SYNQ_API_KEY"
{  "data": [    {      "user_id": "usr_01h455vb4pex5vsknk084sn02q",      "email": "ana@acme.example",      "name": "Acme",      "role": "string",      "joined_at": "2026-10-21T12:00:00.000Z",      "left_at": "2026-10-21T12:00:00.000Z",      "departure": "left",      "removed_by": {        "type": "member",        "id": "usr_01h455vb4pex5vsknk084sn02q"      },      "audit_event_id": "aud_01h455vb4pex5vsknk084sn02q"    }  ],  "next_cursor": "string"}