# Why some of the API endpoints require connection name and some connection ID?

**URL:** <https://community.auth0.com/t/why-some-of-the-api-endpoints-require-connection-name-and-some-connection-id/93262>\
**Category:** Get Help\
**Tags:** connection\
**Created:** [October 27, 2022, 7:48pm UTC](https://community.auth0.com/t/why-some-of-the-api-endpoints-require-connection-name-and-some-connection-id/93262 "2022-10-27T19:48:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![v.peterh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/v.peterh/32/40816_2.png) [@v.peterh](https://community.auth0.com/u/v.peterh)\
**Post date:** [October 27, 2022, 7:48pm UTC](https://community.auth0.com/t/why-some-of-the-api-endpoints-require-connection-name-and-some-connection-id/93262/1 "2022-10-27T19:48:27Z")

</div>

There are at least two endpoint that accept connection as one of their parameters. Is there a reason why one of them requires connection name and the other one connection ID?

Example:  
[POST](https://auth0.com/docs/api/management/v2#!/Users/post_users)[/api/v2/users](https://auth0.com/docs/api/management/v2#!/Users/post_users) requires connection name.  
[POST](https://auth0.com/docs/api/management/v2#!/Tickets/post_password_change)[/api/v2/tickets/password-change](https://auth0.com/docs/api/management/v2#!/Tickets/post_password_change) requires connection ID.

It would be great if it can be unified so we don’t have to put several environment variables into our application that refer to the same object in auth0 system.

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [October 27, 2022, 8:58pm UTC](https://community.auth0.com/t/why-some-of-the-api-endpoints-require-connection-name-and-some-connection-id/93262/2 "2022-10-27T20:58:30Z")

</div>

Hi @v.peterh

Welcome to the Auth0 Community 😃

This would be a great feedback item which you can post here [https://auth0.com/feedback](https://auth0.com/feedback). The connection name requirement seems to be still with us from the API v1 days, there’s an old post here which explains the situation as it was back then [https://community.auth0.com/t/confusion-around-connection-name-vs-id/661](https://community.auth0.com/t/confusion-around-connection-name-vs-id/661)

I’m not sure where we are with the pending task in the backlog but any feedback logged on this should bring some attention to it.

Warm regards.

---

<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:** [November 10, 2022, 8:59pm UTC](https://community.auth0.com/t/why-some-of-the-api-endpoints-require-connection-name-and-some-connection-id/93262/3 "2022-11-10T20:59:26Z")

</div>

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