David Naffis Mar 10
The Administrator API allows you to make API requests as any user in the system by authenticating via a special token and secret. This provides the ability to integrate with systems that cannot store individual login information.
All Administrator API requests must specify an admin_user parameter in the query string of the request. This will be considered the "authenticating user" for that request and can be keyed using the login or e-mail of the user. E.g.
"https://myaccount.presently.com/api/twitter/statuses/friends_timeli..."
To authenticate with the Administrator token through HTTP basic, simply provide the admin token as the username and the admin secret as the password when making an API request. Example:
curl -u admintoken:adminsecret \
"https://myaccount.presently.com/api/twitter/account/verify_credenti..."
Using this method you can access the API by providing the admin_token and admin_secret in the query string. This is less secure than HTTP Basic over HTTPS and is not recommended, but is provided for systems that do not allow requests to be made via HTTP Basic authentication.
curl "https://myaccount.presently.com/api/twitter/account/verify_credenti..."