# WiFi

WiFi is where you'll be able to view who owns a certain device using the MAC address or create a WiFi session for a customer.

## Check if device belongs to guest

<mark style="color:blue;">`GET`</mark> `/v1/guests/wifi`

#### Query Parameters

| Name                                  | Type   | Description           |
| ------------------------------------- | ------ | --------------------- |
| mac<mark style="color:red;">\*</mark> | String | Mac address of device |

{% tabs %}
{% tab title="200: OK " %}

```typescript
{
     "id": string,
     "email": string,
     "first": string,
     "last": string
}
```

{% endtab %}
{% endtabs %}

## Create WiFi session

<mark style="color:green;">`POST`</mark> `/v1/guests/:guest_id/wifi`

#### Request Body

| Name                                          | Type   | Description           |
| --------------------------------------------- | ------ | --------------------- |
| user\_agent<mark style="color:red;">\*</mark> | String | User agent of device  |
| mac<mark style="color:red;">\*</mark>         | String | MAC address of device |
| venue\_id<mark style="color:red;">\*</mark>   | String |                       |
| event\_id                                     | String |                       |

{% tabs %}
{% tab title="200: OK " %}

{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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://developer.stampede.ai/guests/wifi.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.
