List your API keys
List your API keys (never their secrets) with their permission tiers, accounts, expiry and last use. Use it before rotate_api_key or revoke_api_key, or when the user asks which keys exist.
List your API keys (never their secrets) with their permission tiers, accounts, expiry and last use. Use it before rotate_api_key or revoke_api_key, or when the user asks which keys exist.
Authenticate as a user with a personal access token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <personal-access-token>Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/me/api-keys"[ { "id": "string", "name": "string", "tiers": [ "string" ], "readOnly": true, "accountSlugs": [ "string" ], "source": "user", "createdAt": "2019-08-24T14:15:22Z", "expireAt": "2019-08-24T14:15:22Z", "lastUsedAt": "2019-08-24T14:15:22Z" }]Export your data POST
Export everything Snapvisor holds about you as JSON: profile, emails, teams, the projects you administer, API key and authorized-app metadata and notification preferences. Above 1 MB it returns a single-use download link instead. Use it when the user asks for a copy of their data.
Create an API key POST
Create an API key limited to the given permission tiers and accounts (the accounts this connection reaches when omitted). The secret is returned once. Use it when the user needs a key for CI, a script or another tool.