---
title: "Authenticate session"
method: POST
path: "/auth/login"
tags: ["auth"]
---

# Authenticate session

`POST /auth/login`

Please access to our website, in Settings/Token to get/create a list of tokens to login with this endpoint

## Request body

- MarketMakerLoginRequest
  - `access_key` string
  - `secret_key` string

## Response `200`

OK

- MarketMakerSuccessLogin
  - `data` object
    - `access_expire_time` integer
    - `access_token` string
    - `refresh_expire_time` integer
    - `refresh_token` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/prophetx/apis/external-market-maker-api.md) · [All operations](https://skmtc.net/prophetx/apis/external-market-maker-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prophetx/external-market-maker-api/revisions/cf6d43de1db2/schema)
