---
title: "View credentials"
method: POST
path: "/user/v3/login"
tags: ["User Management"]
---

# View credentials

`POST /user/v3/login`

## Request

- Base URL: `https://api.nexiopaysandbox.com`
- URL: `https://api.nexiopaysandbox.com/user/v3/login`
- Auth: HTTP basic

Retrieves authentication credentials based on username and password.

<!-- theme: warning -->
> ⚠️ Try It
> 
> To use the Try It feature for this endpoint, you must use the credentials for your [Sandbox API user](doc:sandbox-environments).


<div style="display:none;">

## Request parameters
- username
- password

## Response parameters
- idToken
- accessToken
- refreshToken
- expiresIn

</div>

## Request body

- object
  - `username` string, required: Your username.
  - `password` string, required: Your password.

## Response `200`

Success

- object
  - `idToken` string: The ID token.
  - `accessToken` string: The access token.
  - `refreshToken` string: The refresh token, for use in the [Refresh](ref:refreshcredentials) endpoint.
  - `expiresIn` integer: The amount of time until the access credentials expire, in seconds.

## Other responses

- `401`: Unauthorized. For help with this error and other error codes, see [Common errors](doc:common-errors) in the Guides area.

---

[API](https://skmtc.dev/nexiopay/apis/management-api-reference.md) - [All operations](https://skmtc.dev/nexiopay/apis/management-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/nexiopay/apis/management-api-reference/revisions/6aede8995ec3?raw)
