Creating an API key
It’s important to remember that the token is exactly the same as giving someone your email and password. They will have access to act on behalf of you, be careful who you share your token to.
Creating an API key allows you to obtain access to the platform without having to login through the Swift Labs web application. The API key can be used to add and modify athlete and squad information and pull athlete activity data as well as additional administration functions.
Creating the Key
Navigating to your organisation settings and clicking on the last tab within the organisation settings will take you to your API keys for your organisation.
Clicking on the “Add Key” will take you to create a new API Key. To create a new key, three components are required, including; the token name, expiry and token scopes.
By default the token expiry is set to the maximum of three months and must be manually renewed once the token has expired.