# Auth0 API Identifiers (URL) for development vs production

**URL:** <https://community.auth0.com/t/auth0-api-identifiers-url-for-development-vs-production/65772>\
**Category:** Get Help\
**Tags:** api, nextjs\
**Created:** [July 7, 2021, 9:38pm UTC](https://community.auth0.com/t/auth0-api-identifiers-url-for-development-vs-production/65772 "2021-07-07T21:38:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam.ellsworth](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adam.ellsworth/32/24898_2.png) [@adam.ellsworth](https://community.auth0.com/u/adam.ellsworth)\
**Post date:** [July 7, 2021, 9:38pm UTC](https://community.auth0.com/t/auth0-api-identifiers-url-for-development-vs-production/65772/1 "2021-07-07T21:38:54Z")

</div>

I would like to know what the recommended workflow is for developing an API for use with NextJS (following your Code+Tutorials).

My main question follows:

1. because you _cannot update_ the “Identifier” after you create an API, and
2. while the API is in development I don’t yet know what URL it will live at but will be using localhost:3001,
3. I am reticent to create first one for the local environment then another with the same API edges but with a new URL.

What do you recommend?

Thank you

(edit: I’ve reread this post and I think I can clarify more:  
Should I be defining the “Identifier” **now** as [http://localhost:3001/](http://localhost:3001/) and **replace it later** with a completely new API instance with a url e.g. [https://my.api.com/](https://my.api.com/)? This feels like an anti pattern)

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [July 9, 2021, 9:52pm UTC](https://community.auth0.com/t/auth0-api-identifiers-url-for-development-vs-production/65772/3 "2021-07-09T21:52:38Z")

</div>

Hi @adam.ellsworth,

Welcome back!

The identifier is simply a name for your API. You can call it whatever you’d like. At no point does Auth0 call the identifier, and it doesn’t need to be a working URL.

---

<div class="post-metadata">

**Author:** ![adam.ellsworth](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adam.ellsworth/32/24898_2.png) [@adam.ellsworth](https://community.auth0.com/u/adam.ellsworth)\
**Post date:** [July 15, 2021, 4:11pm UTC](https://community.auth0.com/t/auth0-api-identifiers-url-for-development-vs-production/65772/4 "2021-07-15T16:11:22Z")

</div>

Thanks for getting back to me. Could you point me to the docs that might go over this in more detail? Only thing I could find were the JSDOC-generated stuff and another forum discussion:

> [@Is API identifier the same as URL to API server?](https://community.auth0.com/t/is-api-identifier-the-same-as-url-to-api-server/7535):
>
> What is API identifier field? Should it be an URL pointing to the API server?

Thank you,  
Adam

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [July 15, 2021, 4:17pm UTC](https://community.auth0.com/t/auth0-api-identifiers-url-for-development-vs-production/65772/5 "2021-07-15T16:17:04Z")

</div>

Here is the Auth0 Doc that describes what I explained above:

> **[API Settings](https://auth0.com/docs/get-started/apis/api-settings)**
>
> Describes the settings related to APIs available in the Auth0 Dashboard.

If you want to dig deeper, [this spec](https://datatracker.ietf.org/doc/html/rfc3986) might be helpful.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 30, 2021, 4:17pm UTC](https://community.auth0.com/t/auth0-api-identifiers-url-for-development-vs-production/65772/6 "2021-07-30T16:17:58Z")

</div>

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