---
title: "Authentication"
method: POST
path: "/v1/auth"
tags: ["Auth and API status"]
---

# Authentication

`POST /v1/auth`

## Request

- Base URL: `https://api.nowpayments.io`
- URL: `https://api.nowpayments.io/v1/auth`
- Auth: none declared
- TypeScript: <https://skmtc.dev/nowpayments/apis/np-open-api/docs/v1/auth/post.ts> (a function with typed inputs; its response is checked against the schema)

Authentication method for obtaining a JWT token. You should specify your email and password which you are using for signing in into dashboard.  
JWT token will be required for using 'Get list of payments' and 'Create payout' endpoints. For security reasons, JWT tokens expire in 5 minutes.

**Please note** that email and password fields in this request are case-sensitive. [test@gmail.com](https://mailto:test@gmail.com) does not equal to [Test@gmail.com](https://mailto:Test@gmail.com)

#### SUCCESSFUL RESPONSE FIELDS

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| token | String | Token that is required to execute certain commands via API. |

## Request body

- object
  - `email` string
  - `password` string

## Response `200`

200

- object
  - `token` string

---

[API](https://skmtc.dev/nowpayments/apis/np-open-api.md) - [All operations](https://skmtc.dev/nowpayments/apis/np-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nowpayments/apis/np-open-api/revisions/32c28317af15?raw)
