Skip to content

Changelog

2026-11-16

Changed

  • 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.

Added

  • 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.

2026-10-27

Added

  • Social sign-in and sign-up with an identity provider (Google, where enabled).

2026-08-31

Added

  • 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.

2026-08-13

Breaking

  • 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.

Added

  • GET /api/v1/auth/magic-link/status and POST /api/v1/auth/magic-link/redeem.

2026-08-07

Breaking

  • 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.

Added

  • 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.

2026-06-29

Breaking

  • POST /api/v1/login/mobile is removed. Action: call POST /api/v1/login with the header PlayTelly-Platform: mobile.

2026-06-23

  • First version of the Authentication API reference.