Mikrotik API for customizing Hotspot Services

Hello Folks

Basically what I am trying to achieve is to store the login pages on an external server. where user will be directed to login.

I have been able to achieve the redirection. What I now want is to implement the realtime or data left status when user logs in.

I am also looking at sending POD disconnect messages from the status page to the mikrotik NAS / hotspot device.

I want this to be very independent from the individual NAS devices for the following reasons;

  1. storing the pages and status check portal on an external server makes it modular especially for page updates etc.

  2. it also helps to build more diversified portals including mobile / portable device intelligent portal to serve different content depending on client connecting device.

Is there any APIs or documentation as to how to achieve that.

kind regards