---
title: "POST /connect-auth/v1/account/login"
method: POST
path: "/connect-auth/v1/account/login"
tags: ["Connect APIs"]
---

# POST /connect-auth/v1/account/login

`POST /connect-auth/v1/account/login`

Authorization APIs to get access and refresh token

## Request body

- AccountConnectLoginRequest
  - `client_id` string, required
  - `client_secret` string, required
  - `sharing_key` string — Optional, key for accessing another workspace

## Response `200`

OK

- AccountConnectLoginResponse
  - `access_token` string
  - `expires_in` integer — Access token expiry in seconds
  - `refresh_expires_in` integer — Refresh token expiry in seconds
  - `refresh_token` string

## Other responses

- `4XX`
- `5XX`

---

[API](https://skmtc.net/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.net/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/revisions/9ea23456f722/schema)
