POST
/v1/mgmt/outbound/app/user/token/latest

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

appId?string
userId?string
tenantId?string
options?object
externalIdentifier?string

Fetch latest outbound application user token

This endpoint allows you to fetch the latest user token for an outbound application.

curl -X POST "https://api.descope.com/v1/mgmt/outbound/app/user/token/latest" \  -H "Content-Type: application/json" \  -d '{}'
{  "token": {    "id": "string",    "appId": "string",    "userId": "string",    "tokenSub": "string",    "accessToken": "string",    "accessTokenType": "string",    "accessTokenExpiry": "string",    "hasRefreshToken": true,    "refreshToken": "string",    "lastRefreshTime": "string",    "lastRefreshError": "string",    "scopes": [      "string"    ],    "tenantId": "string",    "grantedBy": "string",    "externalIdentifier": "string"  }}
export interface Response {token?: {id?: stringappId?: stringuserId?: stringtokenSub?: stringaccessToken?: stringaccessTokenType?: stringaccessTokenExpiry?: stringhasRefreshToken?: booleanrefreshToken?: stringlastRefreshTime?: stringlastRefreshError?: stringscopes?: string[]tenantId?: stringgrantedBy?: stringexternalIdentifier?: string}}
Was this helpful?