# Newbie questions for Auth0 API Authentication

**URL:** <https://community.auth0.com/t/newbie-questions-for-auth0-api-authentication/84672>\
**Category:** Get Help\
**Tags:** api\
**Created:** [June 6, 2022, 9:27pm UTC](https://community.auth0.com/t/newbie-questions-for-auth0-api-authentication/84672 "2022-06-06T21:27:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthonys](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anthonys/32/33385_2.png) [@anthonys](https://community.auth0.com/u/anthonys)\
**Post date:** [June 6, 2022, 9:27pm UTC](https://community.auth0.com/t/newbie-questions-for-auth0-api-authentication/84672/1 "2022-06-06T21:27:20Z")

</div>

## Context:

I am developing a new API to integrate my companies software with a lender. I am considering using auth0 as an authentication layer. I just had some questions looking to be pointed to some documentation and to get some clarity on the pricing structure.

The pricing chart I am referencing currently:

> **[Log in | Auth0 Dashboard](https://auth0.auth0.com/u/login/identifier?state=hKFo2SB1NnFLaGdyOHlfY1ViM3ZoSVFLZWpHSkhCLVFxZ2d5bKFur3VuaXZlcnNhbC1sb2dpbqN0aWTZIEpjVDdVcUtZSlNXX1lsU3dNaXliQlJQWGhFalhjN1I4o2NpZNkgekVZZnBvRnpVTUV6aWxoa0hpbGNXb05rckZmSjNoQUk)**

## Questions:

1. Machine to Machine are capped at a certain amount (1000 for the free tier).  
a. Is this per authentication token request?  
b. Is this per authentication token generated? ( There is an expiration in the response to the request and I am not sure if the same taken is kept within that period or a new one is generating each request)

2. To give a “Machine” access to the API you must create a Machine-to-Machine Application.

3. Is there cost/limits I a missing in my use case?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 6, 2022, 10:55pm UTC](https://community.auth0.com/t/newbie-questions-for-auth0-api-authentication/84672/3 "2022-06-06T22:55:32Z")

</div>

Hi there @anthonys welcome to the community!

> [@anthonys](#):
>
> b. Is this per authentication token generated? ( There is an expiration in the response to the request and I am not sure if the same taken is kept within that period or a new one is generating each request)

The M2M token quota is per token **created** and not per request - You will want to do some sort of caching on your end to make sure you aren’t using too many. Important to note that tokens created for Auth0 APIs are **not** counted in this quota. Please see this post for details:  
[https://community.auth0.com/t/do-management-api-tokens-count-towards-my-m2m-token-quota/43822](https://community.auth0.com/t/do-management-api-tokens-count-towards-my-m2m-token-quota/43822)

> [@anthonys](#):
>
> a. Is there a limit to Machine-to-Machine applications created?

Yes, M2M applications created count towards your application quota.

> [@anthonys](#):
>
> b. Is there a charge for creating a Machine-to-Machine application?

M2M applications are included in your overall subscription application limit and aren’t unique from SPA, Web, Native applications, etc.

> [@anthonys](#):
>
> c. Is there a way to create an application via scripting?

Yes - You can use the Management API to achieve this: [Welcome to Auth0 Docs - Auth0 Docs](https://auth0.com/docs/api/management/v2?#!/Clients/post_clients) We also offer a [CLI](https://github.com/auth0/auth0-cli) as well.

> [@anthonys](#):
>
> Is there cost/limits I a missing in my use case?

I _think_ this about covers everything, but you may want to reach out to our [sales team](https://auth0.com/contact-us) just to make sure!

Hope this helps!

---

<div class="post-metadata">

**Author:** ![anthonys](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anthonys/32/33385_2.png) [@anthonys](https://community.auth0.com/u/anthonys)\
**Post date:** [June 6, 2022, 11:06pm UTC](https://community.auth0.com/t/newbie-questions-for-auth0-api-authentication/84672/4 "2022-06-06T23:06:57Z")

</div>

> [@ty.frith](#):
>
> this about covers everything, but you may want to reach out to our [sales team](https://auth0.com/contact-us) just to make s

Thank you for the detailed response! I have a follow up question if you don’t mind.

> [@ty.frith](#):
>
> application quota.

I am not seeing an application quota in the pricing chart. Is it named something else?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 7, 2022, 12:08am UTC](https://community.auth0.com/t/newbie-questions-for-auth0-api-authentication/84672/5 "2022-06-07T00:08:55Z")

</div>

No problem, happy to help!

You’re right, it’s not listed in the pricing chart but can be found here:

> **[Entity Limit Policy](https://auth0.com/docs/troubleshoot/customer-support/operational-policies/entity-limit-policy#self-service-paid-subscription-limits)**
>
> Describes Auth0's tenant entity limit policy for subscribers.

---

<div class="post-metadata">

**Author:** ![anthonys](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anthonys/32/33385_2.png) [@anthonys](https://community.auth0.com/u/anthonys)\
**Post date:** [June 20, 2022, 4:55pm UTC](https://community.auth0.com/t/newbie-questions-for-auth0-api-authentication/84672/6 "2022-06-20T16:55:13Z")

</div>

Exteneding Question 1 a bit further.

Is the 1000 M2M token quota perpetual or a monthly quota?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 21, 2022, 9:31pm UTC](https://community.auth0.com/t/newbie-questions-for-auth0-api-authentication/84672/7 "2022-06-21T21:31:12Z")

</div>

Hey there @anthonys! It’s monthly - You should be able to see usage if you navigate to Tenant Settings (name of tenant in upper left corner) → Quota Utilization as in the screenshots below:

 ![Screen Shot 2022-06-21 at 2.28.36 PM](https://global.discourse-cdn.com/auth0/original/3X/b/6/b636902dc95d4655d6e8ed003e4226dd427cf4dd.png)  
 ![Screen Shot 2022-06-21 at 2.26.34 PM](https://global.discourse-cdn.com/auth0/original/3X/b/8/b82c9503ce9b8833ea0c8d562a0b17b20be26b55.png)

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [July 6, 2022, 9:32pm UTC](https://community.auth0.com/t/newbie-questions-for-auth0-api-authentication/84672/8 "2022-07-06T21:32:03Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
