API Key (Token) duration
Hi, I'm using API key (barer token) V1 for my builds, and I have a question about the default duration of that key. Does it expire, and when? Can I set an expiration date? Also, I have noticed that sometimes when I visit the API key page (https://ci.appveyor.com/api-keys), it generates a new token.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 17 Dec, 2025 06:27 PM
Hi Tibor,
Tokens do not have expiration. However, if it's account-specific token and user membership has changed (like user was removed/added to account) then the token will be re-generated. For persistent tokens use v2 (global) tokens.
2 Posted by Tibor Tapai on 17 Dec, 2025 10:34 PM
Thanks Feodor.