メインコンテンツへスキップ
POST
/
token
新しいトークンを取得
curl --request POST \
  --url https://openapi.octoparse.com/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "password": "<string>",
  "grant_type": "password"
}
'
{
  "data": {
    "access_token": "<string>",
    "expires_in": 123,
    "token_type": "<string>",
    "refresh_token": "<string>"
  },
  "requestId": "<string>"
}

ボディ

application/json
username
string
必須

アカウントのメールアドレスまたはユーザー名

password
string
必須

アカウントのパスワード

grant_type
string
必須

passwordを指定してください。

:

"password"

レスポンス

200 - application/json

トークンの取得に成功しました。

data
object
requestId
string