AFAS Time Automation

System Status

Server Checking...
Auth Tokens Checking...
Tokens Age -
Last Used -
Last Result -

Login to AFAS & Capture Tokens

  1. Open AFAS InSite
    Open AFAS InSite ↗
  2. Log in with your Microsoft account
    Complete the login process in the new tab
  3. Run capture script
    Press F12 → Console tab → paste this script → press Enter:
    (function(){const c=window.AntaAppContext?.Config,u=c?.User;const t={publicSessionId:u?.PublicSessionId,arft:c?.Arft,userId:u?.Id,webFormSessionId:c?.ClientSessionId,cookies:document.cookie};console.log(JSON.stringify(t,null,2))})();
    Output appears in console - right-click to copy
  4. Paste tokens below and save

Webhook Endpoints

8 Hours (Weekdays) POST /api/trigger
Call Hours POST /api/call

Call registration: 1 hour normally, 2 hours if between 00:30-07:00