---
uuid: d8d193ea-e506-4b4b-84f3-14682494d30c
date_created: 2025-07-05T08:07:52.164Z
date_updated: 2026-03-11T09:25:53.710Z
outdated: true
end_of_support_date: 2025-08-01
routes: 
  - POST /v0/wifi_access_request
---

# Migration of the endpoint POST /v0/wifi\_access\_request to POST /v1/wifi\_access\_request

## Context

Upgrade from **POST** - `/v0/wifi_access_request` to **POST** - `/v1/wifi_access_request`

⭐ **Key benefit :**

* Benefit from a new field "phone\_number" and optin becomes a list of optins

## Impacts

Route to call :

* **POST** - `/v1/wifi_access_request`

**Input became**

```diff
{
  "product_id": "MPAC",
  "customer_information": {
    "first_name": "Jean",
    "last_name": "Smith",
    "nationality": "FR",
    "room_number": "14",
-    "optin": true,
    "social_media": "facebook",
    "email": "jean.smith@something.com",
+   "phone_number": "06030201010",
+   "optins": [
          {
            "channel": "SMS",
            "optin": true
          }
        ],
    "user_language": "fr"
  }
}
```

| filed name                           | field type | O/F | Description                                                                                             | Example value |
| ------------------------------------ | ---------- | --- | ------------------------------------------------------------------------------------------------------- | ------------- |
| customer\_information.phone\_number  | String     | F   | Mobile phone number of the customer requesting a wifi connection.nullable truepattern: "^\[+]?\[0-9]+$" | 06030201010   |
| customer\_information.optins.channel | ENUM       | F   | Communication channel \[EMAIL, SMS]                                                                     | SMS           |
| customer\_information.optins.optin   | Boolean    | F   | True if the customer has agreed to be contacted on this channel                                         | True          |
