> For the complete documentation index, see [llms.txt](https://create.cloud4wi.ai/dev-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://create.cloud4wi.ai/dev-hub/api-reference/getting-started/locations.md).

# Locations

**Locations** represent the physical places where you deploy Devices.&#x20;

{% openapi src="<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>" path="/v1/organizations/{cid}/locations" method="get" %}
<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>
{% endopenapi %}

{% openapi src="<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>" path="/v1/locations/{lid}" method="get" %}
<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>
{% endopenapi %}

{% openapi src="<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>" path="/v1/organizations/{cid}/locations" method="post" %}
<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>
{% endopenapi %}

{% openapi src="<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>" path="/v1/organizations/{cid}/locations/{lid}" method="put" %}
<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>
{% endopenapi %}

{% openapi src="<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>" path="/v1/organizations/{cid}/locations/{lid}" method="delete" %}
<https://developers.cloud4wi.com/api-explore-inspector/api-explore.yml>
{% endopenapi %}

###

### Required input parameters

To use the Create Location API the following parameters are mandatory:

* `locationProfileId`
* `welcomePortalId`
* `loginProfileId`

These parameters can be extracted in the following ways:

#### `locationProfileId`

In Cloud4Wi dashboard follow the path:

Manage -> Location Profiles -> \*Select the Location Profile of interest

<figure><img src="/files/iIRooIXs7BBGEloauWV2" alt=""><figcaption></figcaption></figure>

#### `welcomePortalId`

In Cloud4Wi dashboard follow the path

Guest WiFi -> Splash Pages -> \*Select the Splash Page of interest

<figure><img src="/files/ypIaV72wcmSHmIfwUObG" alt=""><figcaption></figcaption></figure>

#### `loginProfileId`

In Cloud4Wi dashboard follow the path

Guest WiFi -> Login Profiles -> \*Select the Login Profile of interest

<figure><img src="/files/vgKZlLKX79oqh12tJRmb" alt=""><figcaption></figcaption></figure>

#### organizationPlanId

In Cloud4wi dashboard follow the path

`Guest Wifi -> Internet Plans -> *Select the Internet Plan of interest`

<figure><img src="/files/9wqF4a2qyPCp1oPWxg06" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://create.cloud4wi.ai/dev-hub/api-reference/getting-started/locations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
