[#1255] Request for Assistance with SimpleBook API Integration in Voiceflow

Migrated from Redmine #1255 | Author: Leonel Ulate
Status: Feedback | Priority: High, I’m very impatient | Created: 2024-07-14


Hello,

I am trying to integrate the SimpleBook API into Voice Flow, I want to call the API from the Voiceflow chatbot and make a reservation, but I am encountering an issue… When I open the API set up in Voiceflow and configure the “body”, it shows “Okay” for the authentication, but then I receive an error 32600.

I am not a programmer, and I am trying to do all this with the help of ChatGPT and Claude. I have successfully used other APIs and learned a bit, but this one has been impossible for me.

I need assistance to resolve this issue.

Dmytro Bondarev wrote:

Hi, please provide HTTP request and response.
Most probably it makes wrong API request, and you will need to have some proxy server to make correct API requests to simplybook API.

Leonel Ulate wrote:

Dmytro Bondarev wrote:

Hi, please provide HTTP request and response.
Most probably it makes wrong API request, and you will need to have some proxy server to make correct API requests to simplybook API.


Hello! thanks for writting. I’m using “POST” method to this url: https://user-api.simplybook.me/v2/bookings

Also, this is the answer when I test the API connection:

{
“error”: {
“code”: -32600,
“message”: “Invalid Request”,
“data”: null
},
“id”: null,
“VF_STATUS_CODE”: 200,
“VF_HEADERS”: {
“access-control-allow-headers”: “content-type, x-company-login, x-application-token, x-user-token, x-token, x-requested-with, x-csrf-token”,
“access-control-allow-methods”: “POST, GET, OPTIONS”,
“access-control-allow-origin”: “*”,
“connection”: “close”,
“content-length”: “75”,
“content-type”: “application/json”,
“date”: “Thu, 18 Jul 2024 18:01:48 GMT”,
“keep-alive”: “timeout=20”,
“server”: “nginx”,
“strict-transport-security”: “max-age=15768000”,
“x-iplb-instance”: “59410”,
“x-iplb-request-id”: “23AE2B28:C746_8E2C8CB0:01BB_6699588B_179EFD3:7CB4”,
“x-xss-protection”: “1; mode=block”
}
}