---
title: "Log in to the user account"
method: POST
path: "/blaize/login"
tags: ["Authentication"]
---

# Log in to the user account

`POST /blaize/login`

This endpoint is utilized for user authentication, granting access to secured endpoints  that mandate authentication. Following successful authentication, a `blaize_session` is generated  for the user, enabling them to access the secure endpoints.

## Headers

- `cookie` string

## Request body

- UserRegistrationRequest
  - `identifiers` object, required
    - `email_address` string
  - `validators` object, required
    - `password` string
    - `use_sso` boolean — When this is present there should be no identifiers in the body. The user is identified through a blaize_session cookie.

## Response `200`

OK. The user has logged in successfully.

- UserLoginResponse
  - `cookie` string — The authenticated user session.
  - `message` string
  - `tracking_id` string — The user tracking ID.

## Other responses

- `400` — Bad Request. The server could not understand the request due to invalid syntax or missing required parameters.
- `401` — Unauthorized. The user is unable to authenticate due to invalid login credentials, resulting in a lack of authentication.

---

[API](https://skmtc.net/zuora/apis/public-api-reference.md) · [All operations](https://skmtc.net/zuora/apis/public-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zuora/public-api-reference/revisions/0400dd83950b/schema)
