Read and Review Automation Anywhere Documentation

Automation 360

Close Contents


Open Contents

Authenticate (username and apiKey)

  • Updated: 2022/03/04
    • Automation 360 v.x
    • Manage
    • RPA Workspace
    • API docs

Authenticate (username and apiKey)

Use this API to authenticate access to your Control Room with the username and apikey. A successfully completed response generates a JSON Web Token. By default, a token is valid for 20 minutes. This endpoint enables users to 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 a valid username and apikey to the Control Room.

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:

Request Parameters

Parameter Type Description
username String Enter your user name.
Note: If the user has multiple sessions enabled then a multiple session token will be generated. For more information on multiple-login, see Multi-login user.
apikey String Enter your apikey.
Note: Make sure you replace any escape character '\' with '\\' in the API key.


         ". . ."

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