Your conversational AI application can integrate with external systems or services by making HTTP requests.

<aside> 🔦

If you are using Zammo Agents, please see this article on how to create an AI Agent that automatically integrates with APIs: API Integrations

</aside>

If you are using UI Builder to design your conversation, the Send an Http Request activity makes it possible to perform API Integrations and has support for the following methods:

This is a available from the Access External Resources menu in UI Builder and can be added like any other activity.

In this How To you'll learn how to make a GET request to a publicly available web service, check the Http Status code and output the data in your conversational AI application.

Step 1 - Setting Up The Http Request

Here we create the Http Request action and set the relevant properties. For the purpose of this How To we'll use a free and publicly available API call Cat Facts. This API returns random facts about cats and is invoked using a GET request.

A successful call to this API will return the following JSON: