Skip to main content

Obtaining a token

Make a POST request to the login endpoint:
Success response (200):
Failed authentication (401):

Using the token

Pass the token as a Bearer header on every protected request:

Token management

Tokens are scoped to a single device. Each login call creates a new token. Logout (current device):
Logout all devices:

Email verification

If email verification is enabled on your StartMyVPN installation, API users must verify their email before accessing protected endpoints. Resend verification email:
Verify email with code:

Password reset

Request reset (sends email):
Submit new password: