# How to find Location ID

**URL:** <https://developer.squareup.com/forums/t/how-to-find-location-id/2625>\
**Category:** Questions\
**Tags:** payments-api, locations-api\
**Created:** [May 27, 2021, 2:25pm UTC](https://developer.squareup.com/forums/t/how-to-find-location-id/2625 "2021-05-27T14:25:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![glope720](https://avatars.discourse-cdn.com/v4/letter/g/59ef9b/32.png) [@glope720](https://developer.squareup.com/forums/u/glope720)\
**Post date:** [May 27, 2021, 2:25pm UTC](https://developer.squareup.com/forums/t/how-to-find-location-id/2625/1 "2021-05-27T14:25:13Z")

</div>

Hello, I am desperately trying to figure out how to find the proper location ID in our Square account for our third party ticket agent. The one in the sandbox from our developer dashboard doesn’t work. Nobody at square knows what I’m talking about. Any help will be useful. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [May 27, 2021, 3:35pm UTC](https://developer.squareup.com/forums/t/how-to-find-location-id/2625/2 "2021-05-27T15:35:33Z")

</div>

Hi @glope720 welcome to the forums!

Can you clarify what you mean by the one in the sandbox doesn’t work? Doesn’t work in what sense? That should be your location\_id, yes. Or, you can call `ListLocations` in the API to see your locations.

---

<div class="post-metadata">

**Author:** ![glope720](https://avatars.discourse-cdn.com/v4/letter/g/59ef9b/32.png) [@glope720](https://developer.squareup.com/forums/u/glope720)\
**Post date:** [May 27, 2021, 4:13pm UTC](https://developer.squareup.com/forums/t/how-to-find-location-id/2625/3 "2021-05-27T16:13:50Z")

</div>

[sandbox](https://developer.squareup.com/apps/sq0idp-xtxryBKiFRhudegotMcKPg/log)  
So at the top there is a togle that is sandbox or production. Where can I find the number to call Listlocations?

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [May 27, 2021, 4:32pm UTC](https://developer.squareup.com/forums/t/how-to-find-location-id/2625/4 "2021-05-27T16:32:18Z")

</div>

On that page, on the left-hand nav, you should see “Locations” which has your location ids (see screenshot below). I’m not sure what you mean by number…to call our APIs you would use the “access token”. You can see more about using it and basic requests here: [https://developer.squareup.com/docs/build-basics/using-rest-api](https://developer.squareup.com/docs/build-basics/using-rest-api).

 ![Screen Shot 2021-05-27 at 9.31.49 AM](https://global.discourse-cdn.com/square/original/1X/32e57eb2941f75966e4dc6f32fe9bdcbb5ee19ed.png)

---

<div class="post-metadata">

**Author:** ![saurabh.sehgal](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@saurabh.sehgal](https://developer.squareup.com/forums/u/saurabh.sehgal)\
**Post date:** [March 6, 2023, 11:25am UTC](https://developer.squareup.com/forums/t/how-to-find-location-id/2625/5 "2023-03-06T11:25:22Z")

</div>

Can we get location id by name?

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [March 6, 2023, 5:21pm UTC](https://developer.squareup.com/forums/t/how-to-find-location-id/2625/6 "2023-03-06T17:21:19Z")

</div>

Currently, there isn’t a way to query the Locations API filtering by name. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. 🙂

---

<div class="post-metadata">

**Author:** ![emmawade](https://avatars.discourse-cdn.com/v4/letter/e/51bf81/32.png) [@emmawade](https://developer.squareup.com/forums/u/emmawade)\
**Post date:** [June 20, 2023, 10:21pm UTC](https://developer.squareup.com/forums/t/how-to-find-location-id/2625/7 "2023-06-20T22:21:55Z")

</div>

@[glope720](https://gaminguider.com/) I understand that you’re having trouble finding the proper location ID in your Square account for your third-party ticket agent. Here are a few steps you can take to locate the correct location ID:

1. Sign in to your Square account: Visit the Square website and log in using your credentials.
2. Access Locations: Once you’re logged in, navigate to the “Locations” section of your Square account. This is where you can manage and view the details of your different business locations.
3. Find the specific location: Identify the location that corresponds to the one you want to obtain the location ID for. Take note of the name or any unique identifiers associated with that particular location.
4. Retrieve the location ID: Look for the location’s ID within the “Locations” section. Square typically displays the location ID alongside the location name or within the location’s details. It may be listed as a unique alphanumeric code.
5. Contact Square Support: If you’re still unable to locate the location ID or if the provided ID is not working, reaching out to Square Support directly may be the next step. Explain the issue you’re facing, mention that you have already searched for the location ID within your Square account, and request their assistance in finding the correct location ID for your third-party ticket agent.

Square Support should be able to provide you with the necessary guidance and assistance in locating the correct location ID specific to your account setup.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [June 20, 2023, 11:53pm UTC](https://developer.squareup.com/forums/t/how-to-find-location-id/2625/8 "2023-06-20T23:53:14Z")

</div>

@emmawade Thanks for the assistance here however the `location_ids` aren’t available in the Seller Dashboard. The only way a seller can access the `location_ids` is through the Developer Dashboard in the Locations section.

 ![Screenshot 2023-06-20 at 4.52.16 PM](https://global.discourse-cdn.com/square/original/2X/f/fcea2e2cb397c49df23ff92519ee2f7764f0a959.png)  
🙂
