API Key (Token) duration

Tibor Tapai's Avatar

Tibor Tapai

17 Dec, 2025 10:05 AM

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.

  1. Support Staff 1 Posted by Feodor Fitsner on 17 Dec, 2025 06:27 PM

    Feodor Fitsner's Avatar

    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. 2 Posted by Tibor Tapai on 17 Dec, 2025 10:34 PM

    Tibor Tapai's Avatar

    Thanks Feodor.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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