Auth Tokens

This authentication procedure does not use the Auth Key directly in your client code and thus ensuring that your Auth Key is not leaked even if the client code is reverse engineered.

The following table lists the properties that the Auth Tokens API supports.

ParametersTypeDescription
platformstring(optional) Indicates which platform the loggedIn user belongs to (for eg: web, android etc).
Maximum character length is 50.
userAgentstring(optional) Indicates which user agent the loggedIn user belongs to (for eg: Mozilla, Chrome etc).
Maximum character length is 255.
appInfoarray(optional) Indicates extra info about an app.
deviceIdstring(optional) Indicates the ID of the device to which the authToken is linked.
Maximum character length is 100.
forceboolean(optional) Generates new auth token forcefully.