Refresh Token Activity Report for Workspace Admin SDK

Using this API, I can track the applications which have requested the authorization token. However, I want to also track the number of times an application requests refresh tokens.

Is there any way I can get this information?

See:

https://developers.google.com/admin-sdk/reports/v1/appendix/activity/token

refresh events are not logged but access tokens expire after one hour so anytime you see activity events you can assume there was a refresh within the past hour.

Jay

Jayhlee. Thanks for your response. I tried using the Activity events, but am not getting any response. Can you please tell me what I am doing wrong? Thanks.

Request (masked)

curl --location --request GET '[https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/token?eventName=activity](https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/token?eventName=activity)' \
--header 'Authorization: Bearer xxxx'

Response (masked)

{
    "kind": "admin#reports#activities",
    "etag": "xxxx""
}

That works for me. Can you confirm you see activity events in the admin console token log? Are you using a super admin account to test with?

Jayhlee. Thanks for your help. Got the data.