The reference now documents only the routes partners call. Routes that return 501 Not Implemented
(PUT and DELETE /api/v1/protected/users/me, POST /api/v1/protected/invitations/{invitationId}/accept)
are listed as planned instead of as endpoints.
The session event that reports a revoked session is session_revoked, with reason one of logout,
logout_all, revoked_by_user, revoked_other_devices or account_deleted. Earlier docs called it revoked.
Social sign-in is documented as endpoints: GET /api/v1/auth/idp/providers,
GET /api/v1/auth/idp/{provider}/start, GET /api/v1/auth/idp/callback and
POST /api/v1/auth/idp/link/confirm. See Sign users in with Google.
POST /api/v1/auth/password-reset/request and POST /api/v1/auth/password-reset/confirm: forgotten-password
reset by e-mail. The request always answers 200 so it never reveals whether an address exists.
POST /api/v1/login: the invite_code field is removed, and an invited account can no longer be activated
by signing in (403 ACCOUNT_INVITED). Action: activate invited accounts with the invitation link:
GET /api/v1/auth/magic-link/status to check it, POST /api/v1/auth/magic-link/redeem to activate and sign in.
The error codes INVITE_CODE_INVALID and INVITE_CODE_EXPIRED no longer exist.
Access token: the orgs array claim is replaced by a single org object (org_id, org_slug, role).
One session is for one organization. Action: read org instead of orgs.
POST /api/v1/login: web clients must send company_code. Action: send the organization's company code
on web sign-in; mobile clients can leave it out.
Sessions: GET /api/v1/sessions, POST /api/v1/sessions/{id}/revoke, POST /api/v1/sessions/revoke-others
and the event stream GET /api/v1/sessions/stream.
GET /api/v1/company-code/{code}: find where an organization is hosted.
GET /.well-known/jwks.json and GET /.well-known/openid-configuration for verifying tokens.
Sign-in errors ORG_PENDING, ORG_DISABLED, ACCOUNT_PENDING, ACCOUNT_DISABLED and LICENSE_EXPIRED.