Read and Review Automation Anywhere Documentation

Automation 360

Close Contents


Open Contents

Authenticate (username and apiKey)

  • Updated: 2022/08/18
    • Automation 360 v.x
    • Manage
    • RPA Workspace
    • API docs

Authenticate (username and apiKey)

Use this API to authenticate access to a Control Room with the username and apikey. A successful response generates a JSON Web Token. A generated token is valid for 20 minutes. You can generate the token without the need for the user's password, such as for organizations that use single sign-on (SSO).

To generate the token, you require the following:

  • A custom role with the Generate API-Key permission
  • Valid username and API-key to the Control Room. The API-Key is a 40-character string generated in the Control Room.

    Create and assign API key generation role


POST http://{{ControlRoomURL}}/v1/authentication
Request body:
Note: With apiKey you will be generating a multi session token. multipleLogin parameter is not applicable while you use apiKey to login.

Request Parameters

Parameter Type Description
username String Enter your user name.
apikey String Enter your apikey.
Note: With .24 or previous versions, you must replace any escape character '\' with '\\' in the API key. With .25 or later versions, the API key will no longer have any escape characters('\').


         ". . ."

Response Parameters

Parameter Type Description
token String Generated access token that acts as a session ID that your application will use for making requests. This token is equivalent to the user credentials and must be protected.
user Object The user object returned with all the details of the user.
  • id - Id of the user.
  • email - Email id of the user.
  • username - User name of the user.
  • domain - Domain logged in to.
  • firstname - First name of the user.
  • lastname - Last name of the user.
  • roles - Roles assigned to the user.
  • sysAssignedRoles - System assigned roles.
  • permissions - Permissions assigned to the user.
  • licenseFeatures - License assigned to the user.

Insert the token in the request header of subsequent API requests.

Send Feedback