Skip to content

@mega-yfue/eufy-sdk / SolixSession

Interface: SolixSession ​

An authenticated Solix session — the token + the derived gtoken + the resolved API host.

Properties ​

apiHost ​

ts
apiHost: string;

The regional API host the account resolved to (e.g. the EU shard).


authToken ​

ts
authToken: string;

gtoken ​

ts
gtoken: string;

md5(user_id) — sent as the gtoken header on every authenticated read.


tokenExpiresAt ​

ts
tokenExpiresAt: number;

Unix seconds; 0 when the server did not supply one.


userId ​

ts
userId: string;

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.