AVKUL ERPDocs
MODULE GUIDE · 11 OCT 2026

Sign-in & account sessions

Sign in with assigned account details and keep platform support access separate from school accounts.

Try guided demo →Download guide ↓
Sign-in & account sessions — illustrated workflow banner

What you can do

01

Account login

02

Current profile

03

Token refresh

04

Logout

05

Platform impersonation

Access & setup

Intended access: Platform administrator.

  • An assigned school account with the required permissions.
  • The academic, student or staff setup used by this workflow.

Use the public sample demo to learn this flow. Your assigned ERP account determines access to actual school records.

How the workflow works

  1. 01

    Open the ERP sign-in page

    An assigned school account with the required permissions.

  2. 02

    Enter the assigned identifier and school code when required

    Current profile is part of the documented workflow.

  3. 03

    Use the workspace available to the signed-in role

    Token refresh is part of the documented workflow.

  4. 04

    Log out when the session is finished

    Review the result in the connected record or workspace before moving on.

Request fields to understand

Source-declared fields used by related operations; each operation has its own validation and scope.

FieldDeclared typeInput
identifierstringRequired by declaration
passwordstringRequired by declaration
schoolCodestringOptional
tenantSlugstringOptional
deviceNamestringOptional
refreshTokenstringOptional
userIdstringRequired by declaration
reasonstringRequired by declaration
minutesnumberOptional
sessionIdstringOptional

Rules & current limits

  • Public guided demos do not issue ERP credentials. Impersonation is restricted to platform administrators and is audited.

Source inventory checked on 11 October 2026. Guide availability confirms documentation publication, not certification of every external service or device flow.

Try sign-in & account sessions

Open a guided sample workspace, try the available actions, then reset whenever you like. No login required.

Launch guided demo →

API & permissions reference

This is the module’s source-declared endpoint catalogue. Reading this reference does not execute any request.

9 source-declared operations
POST/api/v1/auth/login

Login by email / phone / employee code / admission no

Public/capability access as implemented

Declared request fields: identifier (required), password (required), schoolCode (optional), tenantSlug (optional), deviceName (optional).

POST/api/v1/auth/refresh

Rotate a refresh token for a new token pair

Public/capability access as implemented

Declared request fields: refreshToken (required).

POST/api/v1/auth/logout

Revoke the current session (or all sessions)

Authenticated scope and endpoint-specific rules

Declared request fields: refreshToken (optional).

GET/api/v1/auth/me

Current user profile, roles and permissions

Authenticated scope and endpoint-specific rules
POST/api/v1/auth/impersonate

Start acting as another user (platform admins only)

Authenticated scope and endpoint-specific rules

Declared request fields: userId (required), reason (required), minutes (optional).

POST/api/v1/auth/impersonate/stop

End an impersonation session

Authenticated scope and endpoint-specific rules

Declared request fields: sessionId (optional).

GET/api/v1/auth/impersonate/active

Open impersonation sessions (platform admins only)

Authenticated scope and endpoint-specific rules
POST/api/v1/auth/impersonate/close-lapsed

Close expired impersonation sessions (platform admins only)

Authenticated scope and endpoint-specific rules
GET/api/v1/auth/impersonate/history

Impersonation audit history (platform admins only)

Authenticated scope and endpoint-specific rules

Open the actual application

ERP links use your assigned account. Record-specific pages start from the list so you can choose a real record.

Keep exploring