JSON API Blocks in BotEditor™

The BotEditor™ offers JSON API integration blocks which can be used to send https GET and POST requests at any time during the dialogue flow.

URL Refers to the endpoint of API which will be used in the JSON block. The curly bracket variable denotes what will be replaced with the entered variable value once the block is executed.

Method HTTP method that is to be used in the request, select from either “GET” or “POST”.

Authentication Enables passing user token from Webchat in the header of our request.

Payload (JSON) The JSON body of our request. Only works with POST methods.

Note: Payload is currently not supported.

Example Bot Dialogue Flow Using the the JSON API block to create a bot that provides the capital city of a requested country.

Last updated