# Does/oauth/token API calls count toward Machine to Machien tokens?

**URL:** <https://community.auth0.com/t/does-oauth-token-api-calls-count-toward-machine-to-machien-tokens/36642>\
**Category:** Get Help\
**Created:** [January 21, 2020, 5:34am UTC](https://community.auth0.com/t/does-oauth-token-api-calls-count-toward-machine-to-machien-tokens/36642 "2020-01-21T05:34:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [January 21, 2020, 1:53pm UTC](https://community.auth0.com/t/does-oauth-token-api-calls-count-toward-machine-to-machien-tokens/36642/2 "2020-01-21T13:53:26Z")

</div>

That endpoint may be used as part of very distinct flows, but **if the flow involves an end-user** which would mean you would be using that endpoint to exchange authorization code, refresh tokens or user credentials for tokens **then this would not count for machine to machine quota**.

What counts for the M2M quota would be a **client credentials** exchange ([Client Credentials Flow](https://auth0.com/docs/flows/concepts/client-credentials)) performed through that endpoint and for which an access token **for a custom API you defined in the APIs section** is issued.

The above means that for example, even if you do a client credentials to get an access token for the Auth0 Management API **this would still not count for M2M quota** as the Management API is considered an internal API.

---

_[View the full topic](https://community.auth0.com/t/does-oauth-token-api-calls-count-toward-machine-to-machien-tokens/36642)._
