Docs

Docs

x-cpod-domain: auth

Auth

Sign-in, token lifecycle, password reset, and invites. Not a data domain — the access layer every SDK call rides on.

Try in explorer client.auth

Session

An issued access + refresh token bundle for a user.

REST path/api/v1/sessions
Operations
meloginvalidaterefreshrevokechangePasswordforgotPasswordresetPasswordcreateInviteacceptInviteclientCredentials
SDK
// list — returns only your records; add filters/search:
await client.auth.sessions.list()
FieldTypeDescription
token*stringShort-lived access token (JWT).
refresh_tokenstringLong-lived refresh token.
sub*uuidUser id.
tenant_id*uuid
user_name*string
roles*jsonstring[] of role names.
expires_atdate-timeUnix timestamp when the access token expires.
refresh_expires_atdate-timeUnix timestamp when the refresh token expires.