Browse the help center

Obtain authentication token

Step 1 of the deprecated login with a password.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/auth/token.do Deprecated

This call authenticates with the account password. Use an API key instead — see Deprecated: password-signed calls.

Step 1 of the deprecated login with a password. Validates the provided username and password, then returns a one-time authentication token that can be used with GET /rest-api/auth/{authToken}/login.do to establish a session. The token is valid for one minute and is invalidated after a single use. Requires HTTPS unless the network allows this login over plain HTTP. On success, the response JSON contains 'authToken' (the token string) and 'role' (the user's ACL role name). IP whitelist checks and brute-force protection are enforced: repeated failures are temporarily refused. An unknown username, a wrong password, an inactive account and an address outside the whitelist all get the same answer. Deprecated: a network can switch it off, and once an end date is announced every successful answer carries Deprecation, Sunset and Link headers. Use an API key instead.

Form Params

username string required

The username of the account to authenticate. Must correspond to an existing active user.

john.doe

password string required

The user's password.

s3cur3P@ss

Responses

200

Token generated successfully. Response JSON: {success: true, authToken: '...', role: '...'}.

400

Bad request — invalid or missing parameters

401

Wrong username or password, an address outside the user's IP whitelist, or too many failed attempts: {success: false, error: '...', authToken: ''}.

403

Plain HTTP where the server requires HTTPS, or password-based REST authentication switched off on this network (use an API key instead): {success: false, error: '...'}.

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.