Guest Look-up for WiFi Enrollment

​

Returns whether a user exists in the business or not

Headers

  • Advertises which content types the client is able to understand

  • Preferred language

  • Set this header to application/json.

  • The signature for the API call

  • Used to identify the software, device, and application initiating the request, providing information about the client to the server. For details, see User Agent.

Body

application/json
  • OAuth client ID provided by the business

  • Email address of the user that will be looked up. Either email or phone should be provided to make the request.

Responses

  • application/json
Request Example for get/api2/wifi/users/
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/wifi/users/ \
  --header 'Accept: application/json' \
  --header 'Accept-Language: en' \
  --header 'Content-Type: application/json' \
  --header 'x-pch-digest: {{$$.env.signature}}' \
  --header 'User-Agent: AppName/AppVersion/BuildNumber (OS; Model; MANUFACTURER; MODEL; OS Version)' \
  --data '{
  "client": "CLIENT_GOES_HERE",
  "email": "test@example.com"
}'
{}