curl --location --request POST 'https://my.xentree.com/api/integration/grant' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"mode": "api",
"origin": "string",
"scopes": [
"string"
],
"ttlSeconds": 90,
"audience": "string"
}'{
"integrationToken": "string",
"tokenType": "Bearer",
"expiresAt": "2019-08-24T14:15:22.123Z",
"mode": "string",
"scopes": [
"string"
],
"tenantId": "string",
"kid": "string",
"apiBaseUrl": "string",
"embedUrl": "string"
}