---
title: "Authenticate"
method: POST
path: "/authenticate"
tags: ["Application"]
---

# Authenticate

`POST /authenticate`

## Request

- Base URL: `//basrvqaap6001.morningstar.com/WPDemo/webportfolio/api/v1` (relative, and the document’s source URL is not known)
- URL: `//basrvqaap6001.morningstar.com/WPDemo/webportfolio/api/v1/authenticate`
- Auth: none declared

Authenticate using login and password and obtain JSESSIONID cookie and X-CSRF-TOKEN header value in response if successful. Currently our swagger UI does not support acquiring and submitting the obtained cookie value.

## Request body

- Authentication: Authentication credentials used to establish a session with the BAA REST API
  - `login` string, required: BAA Login
  - `password` string, required: BAA Password
  - `newPassword` string: BAA new Password
  - `recaptchaToken` string: reCAPTCHA Token

## Response `200`

Ok

## Other responses

- `400`: Bad Request
- `401`: Authentication failed (detailed error provided in response body)
- `500`: Internal Server Error

## Changes

- **2026-11-03** `475f167d1874`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024/changes/authenticate/post.md)

---

[API](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024.md) - [All operations](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024/llms.txt) - [OpenAPI document](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024/revisions/475f167d1874?raw)
