Skip to main content

API & developers

Get and rotate an API token

Copy your account token, store it safely, and replace it without leaving integrations broken.

Account administrators can view the account's API token in settings. Rotation invalidates the current token immediately, so identify every integration that uses it before you replace it.

Steps

1

Open API settings

Open Settings, then API. If API is not listed, confirm that you are an account administrator on a VIA workspace.

API settings with the account token and rotation action API settings with the account token and rotation action
API settings with the account token and rotation action
2

Copy and store the token

Choose Copy and save the token in your server-side secret manager. Do not put it in source control, browser code, logs, support messages, or screenshots.

3

Plan a rotation

Find every service and scheduled job that uses the current token. Rotation has no overlap period: the current token stops working as soon as you confirm.

4

Rotate and update integrations

Choose Rotate token, confirm the warning, then copy the replacement into every integration. Make a test request with the new value before the next scheduled run.

Open API settings

Tips

Rotate immediately if a token appears in source control, logs, chat, or a screenshot.
A 401 response after rotation usually means an integration still has the old token.
Contact support if API settings are unavailable to an account administrator who needs access.

Related guides

Product changes affecting this guide