---
title: "Login using email/password"
method: POST
path: "/v2/login/credential"
tags: ["Login"]
deprecated: true
---

# Login using email/password

`POST /v2/login/credential`

> **Deprecated.**

Login using the email and the password of a valid Stratumn user

## Request body

- LoginCredentialDto
  - `email` string, required — The email used to login
  - `password` string, required — The password used to login

## Response `200`

The jwt auth token

- TokenV2Dto
  - `error` unknown, required
  - `data` object — The data of the request
    - `token` string, required — The token needed (in authorization header) to authenticate requests

---

[API](https://skmtc.net/stratumn/apis/stratumn-api-2.md) · [All operations](https://skmtc.net/stratumn/apis/stratumn-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stratumn/stratumn-api-2/versions/7acd41fdff82/schema)
