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.
In the Testlio platform, click your avatar > Token management (to get to https://app.testlio.com/settings/token-management).
Click Generate new token.
Given the token a name.
Chose one or more workspaces where you have permission to create builds.
Select Build API for usage.
Click Generate token.
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.