Skip to main content

Generate a Build API Token

Doris Sooläte avatar
Written by Doris Sooläte
Updated this week

To upload files using the Build Upload API, you need a token to authenticate.

To generate a token for a given workspace, you need to be in a role in the workspace that can create builds (such as Coordinator or Admin). It's recommended to create a user specifically for using the API and create the token under that user.

  1. In the Testlio platform, click your avatar > Token management (to get to https://app.testlio.com/settings/token-management).

  2. Click Generate new token.

  3. Given the token a name.

  4. Chose one or more workspaces where you have permission to create builds.

  5. Select Build API for usage.

  6. Click Generate token.

  7. Copy the resulting token and collection ID.

Note:

  • To access the token and collection ID later, return to Token management and click the relevant token.

  • Always store the token securely, as any other password.

Did this answer your question?