transversal

Allows to transmit information from the wifi access form

post/v1/wifi_access_request

Request

  • Base URL: https://api.clubmed.com
  • URL: https://api.clubmed.com/v1/wifi_access_request
  • Auth: HTTP bearer

Headers

x-api-keystring required

Api_key provided by ClubMed API team

Request body

product_idstring required

ClubMed Product identifier

Example request

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

Response

ok

is_allowedboolean required

true if the access is allowed

Example response

{
  "is_allowed": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.