BuildShipBBuildShip
Powered by
ZuuZ
BuildShip•3y ago•
6 replies
Zuu

Buildship --> VoiceFlow API

Hello all. I am using flutterflow to create a chat and want to use buildship to create all api calls to VoiceFlow. I have the VoiceFlow api documentation but am struggling to actually create the right API calls. I am not fully understanding how to pass all the right information to VoiceFlow. Can Anyone offer some help on how to construct the API call?

Here is the example CURL code which is working but I need to "translate" this into a Buildship API call.

"CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_WRITEDATA, stdout);
curl_easy_setopt(hnd, CURLOPT_URL, "https://general-runtime.voiceflow.com/state/user/userID/interact?logs=off");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "accept: application/json");
headers = curl_slist_append(headers, "content-type: application/json");
headers = curl_slist_append(headers, "Authorization: VF.DM.**");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{"action":{"type":"launch"},"config":{"tts":false,"stripSSML":true,"stopAll":true,"excludeTypes":["block","debug","flow"]}}");

CURLcode ret = curl_easy_perform(hnd);"

TIA
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Google calendar api and buildship
OmerOOmer / ❓・buildship-help
2y ago
Instagram API integration - possible with Buildship?
General SirGGeneral Sir / ❓・buildship-help
2y ago
401 Error: API key issues in Buildship
APAAP / ❓・buildship-help
9mo ago
FlutterFlow transcribe recorded Audio through BuildShip API
MickMMick / ❓・buildship-help
12mo ago