---
title: "Authentication"
description: "Endpoints for checking and managing your Formlabs Dashboard account login state. Endpoints that call Formlabs web services need a login session, and say so in their descriptions."
url: https://developer.formlabs.com/api-reference/authentication/
---

# Authentication

Endpoints for checking and managing your Formlabs Dashboard account
login state. Endpoints that call Formlabs web services need a login
session, and say so in their descriptions.

## Endpoints

Each endpoint's Markdown copy has its parameters, request body, responses, error codes, and Python and cURL samples.

- [Log in to a Formlabs Dashboard account](https://developer.formlabs.com/api-reference/authentication/login.md): `POST /v1/login/`. Authenticates with Formlabs Dashboard, either with a username and password or with a previously issued access token, and stores the resulting session for the lifetime of the PreFormServer process.
- [Log out of Formlabs Dashboard account](https://developer.formlabs.com/api-reference/authentication/logout.md): `POST /v1/logout/`, `preform.logout()`. Clears the current Dashboard login session, if any.
- [Get the logged-in Dashboard user](https://developer.formlabs.com/api-reference/authentication/get-user-info.md): `GET /v1/user/`, `preform.get_user_info()`. Returns account information for the currently logged-in Formlabs Dashboard user (see `/v1/login/`).
