Read and Review Automation Anywhere Documentation

Automation 360

Close Contents

Contents

Open Contents

Validate an authentication token API

  • Updated: 1/06/2021
    • Automation 360 v.x
    • Manage
    • RPA Workspace

Validate an authentication token API

Verify if a JSON Web Token is valid.

Prerequisites

Note: You can view the Control Room APIs in the Community Edition, but API functionality is limited. You need a licensed Automation 360 Edition to access the full functionality of the APIs.

Procedure

  1. Use the GET method and endpoint URL: <your_control_room_url>/v1/authentication/token?token=<token>.
    Note: This endpoint does not have a request body; insert the token that you want to validate in the URL.
  2. Send the request.
    Response body:
    The token is valid.
    {
      "valid": true
    }
    The token is invalid.
    {
      "valid": false
    }

Next steps

If the token is valid, you can use this endpoint to generate a fresh token that is valid for another 20 minutes: Refresh a valid authentication token API.

If the token is not valid, you must generate a token using one of the authentication methods: Authentication API

Send Feedback