API call fails

Went and got an API key. But the call fails.
Unclear why. The return value doesn't provide any clues.

I want to kick off deployments in an automated manner - this was the first step that I can't get past.

  1. "v2" tokens require account information in the URL. Try it with:

    https://ci.appveyor.com/api/account/{your-account-name}/environments
    
  2. rgelb does not look like a real account name. You can see account name in the header of AppVeyor web portal, next to its logo.

  3. Based on the image above, what is my account name that i should be using?

  4. It's on the left, next to AppVeyor logo, please see attached screenshot.

  5. Or it's in URL between "account" and "projects" like on my screenshot.

  6. Ahhh, ok. That was completely different from my login name. Cool. Thanks.

    You don't have, by any chance, a sample project (in whatever language) that looks for the last successful build for a specific project name, then deploys it to a specific environment.

  7. Ah, nope, sorry. It should be fairly trivial since you've got API usage basics. Btw, you can see all API requests on "Network" tab of your browser while doing actions via UI.

  8. Feodor Fitsner closed this discussion on 18 Aug, 2025 09:02 PM.

Comments are currently closed for this discussion. You can start a new one.

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

Recent Discussions