Jump to content
Not connected, Your IP: 44.222.118.194

Recommended Posts

Is it possible to generate a new API key with an API call?  The reason is that I'd like to randomize my IP using WireGuard, but the only way to do that is to generate a new key (not currently possible via API?), and then generate a new config (definitely possible via API).

Is this possible?

Share this post


Link to post

A key management API was requested in the past, though I think without answers from the devs yet.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

It's a shame - I've asked for additional API features in the past similar to this with no reply. I understand it's probably not a priority but further API endpoints would be really beneficial for the use cases you mention (such as a "key management" API). You can tell it's not so important as Staff made a forum for "DNS blocklists" but not one for API feature requests/bug reports etc.

I really dislike having to login to my account to manage keys, ports etc. Everything should be callable via the API such that "airvpn.org" is largely redundant as an interface (since you're only POSTing data anyhow...). Personally, lack of programmable access is my number 1 consideration for deciding when my account expires whether to renew.

I mean, you *could* in theory make a hacky API that logs into the forum, gets the right token and submits the request for you (storing any cookies the site sets in a "cookie-jar"...)...But that's too much work (remember if you can do it via a 'web browser' it can be programmed against, but this site uses funky JS tricks to keep 'bots' and other threat actors out, so you'd need to deal with various edge cases if the server doesn't like you).

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...