statutory-emerald
statutory-emerald17mo ago

Backend authorization per chat message

I need to make a backend request every time the user sends a chat message. I'm authorizing backend requests with a jwt token from my UI (NextJS). Is there a way to send the jwt token along with each chat request, so that Voiceflow can pass it along to my backend server? Otherwise, is there a proper way to securely provide headers to the Voiceflow chat on load?
2 Replies
W. Williams (SFT)
sure, you can pass any var into the chat:

Did you find this page helpful?