Creating a Token
1
Open Settings → API Tokens
Click your organization name in the top navigation, select Settings, then choose API Tokens.
2
Click New Token
Click the New token button and enter a descriptive name that identifies where the token will be used — for example,
github-actions-prod or deploy-script-staging.3
Copy the token immediately
After you click Create, Springwinter displays the full token value exactly once. Copy it to a secure secret store right away — you cannot retrieve the value again after closing the dialog.Your token looks like this:
Using a Token
Pass the token in theAuthorization header of every API request:
Creating a Token via the API
You can also create tokens programmatically by sending aPOST request with a name field:
Listing Your Tokens
Send aGET request to retrieve all tokens for your organization. The response returns token IDs and names — never the secret values.
Response fields
string
The unique identifier for the token. Use this ID to revoke the token.
string
The descriptive name you gave the token when you created it.
string
ISO 8601 timestamp of when the token was created.
Revoking a Token
Send aDELETE request with the token’s ID. The token is invalidated immediately — any subsequent requests using that token receive a 401 Unauthorized response.