OAuth 2.0 Tokens
Create or Refresh Access Token
post/v1/oauth2/token
Request body
Response
OK application/json with the access token and refresh token (if the offline_access scope was included for creating access token).
Example response
{
"access_token": "oauth2-Yzh4Y2Q3ZTVhY2FjYjkwOGJlZGNjNjU5NDM2NjgzZmUwMmNmMjkzM...",
"client_id": "30VYbvlkqZv-SmJd7fTdpH9B9et2yqZA6Wvi5NY_",
"expires_in": 3600,
"expires": 1605732868411,
"refresh_token": "oauth2-AVU=-yPcwtzLkusIEnT7D9slQH4g8Ur0MdpUmpT0Z6BSMf6lmesRpTTSBGNniKd",
"scopes": [
"lucidchart.document.app",
"offline_access"
],
"token_type": "bearer",
"user_id": 341,
"account_id": 52
}