Before you start
Resetting is instant and irreversible, so prepare first.1
Know where the token is used
Every application, script, scheduled job and environment that authenticates with the token will stop working until updated. Make a list.
2
Have the update ready to deploy
The gap between resetting and deploying the new token is downtime for your integration. Have the configuration change staged and ready to ship.
3
Account for signed viewer URLs
Your auth token is the secret used to sign viewer URLs. Resetting it invalidates every signed URL you have already issued, including links already sent to users that they have not yet opened.
4
Pick your moment
Unless you are responding to an exposed token, reset during a quiet period rather than mid-business-day.
If you are responding to a confirmed exposure, reset immediately anyway. A short outage is far preferable to leaving a live credential in circulation.
Resetting the token
1
Sign in to your Draftable account
2
Open API Credentials
Select API Credentials in the left-hand menu. You will see your Account ID and Auth Token sections, each listing a Testing and a Live entry.
3
Choose the right row
The testing and live tokens are reset independently. Check carefully which row you are about to reset, because resetting the live token affects production.
4
Select RESET
Select RESET on the row you want. A new token is generated and displayed immediately, replacing the old one.
5
Copy the new token and update your configuration
Update every place the old token was used, then confirm your integration is working again.
The values in the screenshot above are placeholders. Your own account ID and auth token will be different.
What can and cannot be changed
What resetting affects
Good practice
- Rotate the live token on a schedule, not only after an incident
- Store tokens in a secrets manager or environment variables, never in source control
- Use the testing token for development, so the live token exists in fewer places and is exposed less often
- Generate signed viewer URLs on demand with short expiry windows, so a reset invalidates fewer links in flight
- Enable multi-factor authentication on the account itself, since anyone who can sign in can read and reset your credentials

