# Last login for machine-to-machine client\_credentials

**URL:** <https://community.auth0.com/t/last-login-for-machine-to-machine-client-credentials/73311>\
**Category:** Get Help\
**Tags:** actions, api\
**Created:** [November 17, 2021, 1:38pm UTC](https://community.auth0.com/t/last-login-for-machine-to-machine-client-credentials/73311 "2021-11-17T13:38:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rob.cook](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rob.cook/32/33079_2.png) [@rob.cook](https://community.auth0.com/u/rob.cook)\
**Post date:** [November 17, 2021, 1:38pm UTC](https://community.auth0.com/t/last-login-for-machine-to-machine-client-credentials/73311/1 "2021-11-17T13:38:05Z")

</div>

We are creating clients (applications) via the management API to allow our customers to generate machine-to-machine credentials to use our API. This is all working as expected but we would like to see a timestamp of the last time a client was used to login.

I don’t see that this value is available in the body returned from the `api/v2/clients/{client_id}` endpoint. Is this value available from an existing Auth0 API endpoint? If not our plan is to add this as an application metadata field and update that value each time the client is used to get an access\_token in an Action.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 18, 2021, 10:04am UTC](https://community.auth0.com/t/last-login-for-machine-to-machine-client-credentials/73311/2 "2021-11-18T10:04:51Z")

</div>

Hey there!

Unfortunately you’re right and it cannot be obtained through our Management API. I think your workaround will do the job but I will highly encourage you to place product feedback regarding that using our Feedback category here:

> **[Feedback](https://community.auth0.com/c/feedback/95)**
>
> Submit and vote on product feedback and feature requests.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 25, 2021, 12:53pm UTC](https://community.auth0.com/t/last-login-for-machine-to-machine-client-credentials/73311/3 "2021-11-25T12:53:31Z")

</div>


