メインコンテンツまでスキップ

Login

ログインしてTokenを取得する

Description

Hexabaseにログインして、アクセス用のTokenを取得します。

Method

POST

Request URL Format

/api/v0/login

Payload

Content-Type : application/json

(例)emailを指定してログイン

{
"email": "[email protected]", // User's email address registered in Hexabase
"password": "password",
"exclusive_w_id": "624bea3a879f4e8d8b5dcc6c" // ワークスペース限定ユーザとして登録したユーザへログインする場合に対象のワークスペースIDを指定します
}

(例)user_codeを指定してログイン

{
"user_code": "sample",
"password": "password",
"exclusive_w_id": "624bea3a879f4e8d8b5dcc6c" // ワークスペース限定ユーザとして登録したユーザへログインする場合に対象のワークスペースIDを指定します
}

Request URL Sample

POST https://api.xxx.com/api/v0/login

Response Sample

{
"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}