> For the complete documentation index, see [llms.txt](https://api.stonestepag.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.stonestepag.com/eiger-token.md).

# Eiger Token API

## Authentication

<mark style="color:blue;">`GET`</mark> `https://{baseurl}/eiger/api/login`

This endpoint allows you to validate user name and password to get token valid for certain time.

#### Headers

| Name                   | Type   | Description                               |
| ---------------------- | ------ | ----------------------------------------- |
| EIGER-AUTH-USERNAME    | string | Web Service Access User Name and Password |
| EIGER-AUTH-PASSWORD    | string | Web Service Access User Name and Password |
| EIGER-API-REQUEST-TYPE | string | REST                                      |
| Accept                 | string | application/json                          |
| Content-Type           | string | application/json                          |

{% tabs %}
{% tab title="200 Token successfully retrieved." %}

```
{
"status": "SUCCESS",
"errorcode": "0000",
"data": {
"sessionId": "v22raa1fo7u9tmds5j0etop370",
"token": "142a55a47ddd954cc084154548db0f8d"
},
"message": null,
"errors": null
}
```

{% endtab %}

{% tab title="404 Failed." %}

```
{    "message": "Failed"}
```

{% endtab %}
{% endtabs %}
