Personal settings
  • 20 Feb 2024
  • 1 Minute to read
  • Dark
    Light

Personal settings

  • Dark
    Light

Article Summary

The personal settings pop-out menu displays your name, email address, and Torq role. This is where you control the Torq theme and access the API keys page.

API keys

Torq steps and the Torq API use bearer tokens to authenticate requests. To generate a bearer token, send a request to the Torq authentication server. In the request to the authentication server provide your Torq API key, which consists of a client ID and a client secret. If the request is successful, you'll receive a bearer token to pass in the Authorization header for all Torq API requests.

💡 Token expiration
A bearer token is valid for one hour (3,600 seconds).

Create an API key

The API key consists of a client ID and a client secret. These credentials are used to authenticate when you request a bearer token. API keys are workspace-specific. This means requests are made on the workspace where the API key used to create the bearer token was created. Ensure the API key you're using to generate the bearer token was created in the workspace on which you want to run the requests.

  1. In Torq, click your workspace icon/avatar.
  2. Click API Keys > Create API Key.create a new API key
  3. Give the API key a meaningful name and click Create.
  4. Copy the Client Id and Client Secret to a safe place. You won't be able to access the Client Secret later.Save the client ID and secret to be able to access them later

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.