---
title: "Register"
method: POST
path: "/register"
tags: ["SimpliVPNAPI"]
---

# Register

`POST /register`

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.

## Request body

- Register
  - `username` string, required
  - `password` string, required
  - `await` boolean

## Response `200`

Success

---

[API](https://skmtc.dev/simplivpn/apis/simplivpnapi.md) · [All operations](https://skmtc.dev/simplivpn/apis/simplivpnapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/simplivpn/simplivpnapi/revisions/fe5c1bb711ac/schema)
