action simplivpn_register { label: "Register" description: "This route allows VPN Admin user's with an api key to register a vpn user account. This route can only be called using your api key supplied to you from SimpliVPN. Before calling this you should use your api key to call the /UsernameAvailable route to make sure the username you want is available first. All subsequent user requests following can be done using the user's api token, their token's expire every 7 days, so you should occasionally check them and if you get unauthorized, refresh their token by calling /login route. This route will also auto-enable a new user." provider: simplivpn method: POST path: "/register" encoding: json input: { type: "object" required: ["password", "username"] properties: { await: { type: "boolean" } password: { type: "string" } username: { type: "string" } } additionalProperties: false } output: { type: "object" additionalProperties: true } }