---
title: "Fetch session token for API request."
method: POST
path: "/api/ValidateLogin"
tags: ["Accounts"]
---

# Fetch session token for API request.

`POST /api/ValidateLogin`

## Headers

- `AppName` string
- `SecretKey` string
- `Authorization` string

## Request body

- EmsignerAPIBusinessObjectSubscriberLogin — SubscriberLogin
  - `UserName` string — UserName
  - `Password` string — Password

## Response `200`

OK

- EMDMSHelperReturnObjectEmsignerAPIBusinessObjectSubscriberLogingResp
  - `IsSuccess` boolean
  - `Messages` string[]
  - `ErrorCode` integer
  - `Response` EmsignerAPIBusinessObjectSubscriberLogingResp
    - `AuthToken` string
    - `IsPasswordUpdated` boolean
    - `IsPasswordCompliant` boolean
    - `ErrorCode` integer
    - `RefreshToken` string
    - `IsValid` boolean
    - `IsExpired` boolean

---

[API](https://skmtc.dev/emsigner/apis/emsignerapi.md) · [All operations](https://skmtc.dev/emsigner/apis/emsignerapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/emsigner/emsignerapi/revisions/7d5d55e0d91d/schema)
