Discussions

Ask a Question

Metadata for Booking and Location objects

Metadata is a great improvement. Will it be added to booking and location objects? additionally, Is there any page we can follow the roadmap and releases? Thanks

Domain in photourl is not allowed

I try to update resource photourl with our own CDN url. But I receive "Domain in photourl is not allowed" error message. is it possible to add our own domain?

Webhooks

Can you setup webhooks for a specific waitwhile list? I know you can for Location. Or would you suggest creating a location for the list you want to integrate?
ANSWERED

CORS error while making API call

How do I whitelist my domain so the waitwhile server would not respond back with CORS error? Code: apikey: '<>', apiUrl: 'https://api.waitwhile.com/v2/customers', axios.post(this.apiUrl, data, { headers: headers }) .then((response) => { console.log('Response - '); console.log(response); }) .catch((error) => { console.log('Response Error - '); console.log(error); }) Error: Access to XMLHttpRequest at 'https://api.waitwhile.com/v2/customers' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

About "Using your own SMS messaging provider"

To achieve it we need a Server Backend that is responsible for receiving message requests from Waitwhile and forwarding these to the Messaging Provider. How the message request look like and how to test it, the guides and API Reference has nothing about it.
ANSWERED

Need to Update the each Location Calender date to some specifc start and end time

We are having many location, and some time, we required to adjust the working hours for all the store due to various occasion. Currently we are doing it manually which cause very huge effort. So we are looking for an API which can update each location's each queue with specific time update for a specific day.
ANSWERED

Search for specific visits

I am trying to search for a specific visit using API but I was not able to understand how can I trim the search result in the query tab. """ q string Search query, prefix match on name, phone, email, or customer identifier """ Can you please provide an example of how or what values I can pass in this "q"? also, is It possible to search for a visit based on a data field that we have created?
ANSWERED

Documentation for POST v2/public/visits?

I had built myself a utility app to check in for appointments a while back, but it quit working somewhere within the last two months. I think a captcha was added which... well, maybe what I'm doing is exactly what it's meant to prevent. Is there a legitimate way to get my utility running again? {"statusCode":403,"error":"Forbidden","message":"Recaptcha verification failed, no token provided"}
ANSWERED

What is the 'payload' when verifying webhook signature?

I'm looking at the documentation on how to verify the signature of a webhook, but I don't understand what the 'payload' should be in the example code: function verifyWebhookSignature(signature, url, payload, secret) { return signature == crypto.createHmac('sha256', secret).update(Buffer.from(url + payload, 'utf-8')).digest('base64'); } Any help would be much appreciated!
ANSWERED