---
title: "User login"
method: POST
path: "/api/v3/login"
tags: ["Authentication"]
---

# User login

`POST /api/v3/login`

Authenticate user and create session

## Request body

- LoginCredentials
  - `username` string, required
  - `password` string, password, required

## Response `200`

Login successful

- LoginResponse
  - `success` boolean
  - `redirectUrl` string, uri — URL to redirect to after successful login (if applicable)
  - `id` string, uuid
  - `username` string
  - `fullName` string
  - `emailAddress` string
  - `affiliation` string
  - `profilePhotoUUID` string, uuid
  - `isAdmin` boolean
  - `organizations` object[]

## Other responses

- `401` — Invalid credentials

---

[API](https://skmtc.net/wildmeorg/apis/wildbook-v3-api.md) · [All operations](https://skmtc.net/wildmeorg/apis/wildbook-v3-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wildmeorg/wildbook-v3-api/versions/cae3a14f7bed/schema)
