Skip to main content
POST
/
token
Obtain a New 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>"
}

Body

application/json
username
string
required

Account email address or username

password
string
required

Account password

grant_type
string
required

Must be password

Example:

"password"

Response

200 - application/json

Token obtained successfully

data
object
requestId
string