---
title: "Returns a JWT along with other information for use in successive calls to our apps and APIs."
method: POST
path: "/v1/login"
tags: ["Authentication"]
---

# Returns a JWT along with other information for use in successive calls to our apps and APIs.

`POST /v1/login`

## Request

- Base URL: `https://apidocs.lwolf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://apidocs.lwolf.com/v1/login`
- Auth: none required

If the `clientId` property is not passed in, and the user is only attached to one client, that client will be returned in the JWT. If it is not passed in and the user is attached to multiple clients, then no client information will be passed back in the JWT.

## Request body

- Login
  - `emailAddress` string, email, required: The email address for the user's account.
  - `password` string, required: The user's password.
  - `clientId` string: Penderis code for brokerWOLF logins. Extranet or penderis code for WOLFconnect logins. If not passed and the user belongs to only one client, that client is returned in the JWT. If the user belongs to multiple clients and this is not passed, no client information is included in the JWT.

## Response `200`

Login successful.

- TokenInfo
  - `token` string: The JSON Web Token to use in the Authorization header for all requests to any API.
  - `expiresIn` integer: The number of seconds in which the token will expire.

## Other responses

- `400`: Invalid request. See response body for details.
- `500`: Unknown error. See response body for details.

---

[API](https://skmtc.dev/lwolf/apis/deals-api.md) · [All operations](https://skmtc.dev/lwolf/apis/deals-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lwolf/apis/deals-api/revisions/edf6d7aeccfe?raw)
