This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
{
"access_token": "YOUR_ACCESS_TOKEN",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "YOUR_REFRESH_TOKEN"
}
expires_in
(in seconds).curl --location -g --request POST '{{subdomain}}/api2/api2/oauth/token' \
--header 'Content-Type: text/plain' \
--data-raw '{
"client_id": "{{client_id}}",
"client_secret": "{{client_secret}}",
"grant_type": "password",
"username": "{{username}}",
"password": "{{password}}"
}'
{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjExMTExMWFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MTIzNDU2Nzg5MCIsImV4cCI6MTY3OTE0MTQ1MCwiaWF0IjoxNjc4MTAyNjUwfQ",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "def50200abc1234567890"
}