For authentication purposes, the following parameters can be appended to each of the JSON API URLs:
Assuming the username and password required is "user1" and "password1" respectively, the following URL can be used:
If using a hashed password:
Set a Master Login Username and Master Login Password under System Settings > General Setting. By setting these values, a different user can be specified by passing in the loginAs parameter.
Assuming the master login username and master login password is "master" and "master" respectively, the following URL can be used to represent user "user1":
There's a hash key for the combination of Master Login User and Master Login Password. By using this hash (assuming it's "hashKey"), API authentication can be done without exposing the Master Login Password.