---
article_id: 3887
title: "Integrating with Third Party APIs"
original_article_url: "https://blog.facilitybot.co/blog/knowledge-base/sensors/integrating-with-third-party-apis/"
category: "FacilityBot > Integrations > Sensors"
last_updated: "2023-04-20T01:38:55Z"
needs_review: false
---

# Integrating with Third Party APIs

Managers may need to integrate some sensors or systems that do not use MQTT to Facilitybot. These sensors / systems may only provide API access. FacilityBot allows easy integration with such sensors / systems by configuring our “HTTP In” feature to call the APIs.

https://youtu.be/elSUdGedOr4

## Creating the Sensor in Facilitybot

- Log in to Facilitybot Web Portal.
- Go to Integrations→Sensors.
- Create a new sensor by clicking on +New Sensor.

![](https://blog.facilitybot.co/wp-content/uploads/2023/04/image-28-1024x557.png)

- Enter the sensor name and other information. Then click ‘Submit.’

![](https://blog.facilitybot.co/wp-content/uploads/2023/04/image-29-1024x564.png)

## Configuring HTTP In

- Hover on the newly created sensor to show additional actions that can be taken.
- Click on the ‘Configure HTTP In’ icon.

![](https://blog.facilitybot.co/wp-content/uploads/2023/04/image-30-1024x554.png)

- A panel on the right will appear to integrate the sensor.

![](https://blog.facilitybot.co/wp-content/uploads/2023/04/image-31-1024x562.png)

- Get the Request URL from the API documentation of the system and paste it on the ‘API Endpoint’ field.

![](https://blog.facilitybot.co/wp-content/uploads/2023/04/image-32.png)

- Set authorizations in the Header. Click on the ‘+Header button.’

![](https://blog.facilitybot.co/wp-content/uploads/2023/04/image-33.png)

- Based on the API documentation of the Sensor, create the appropriate parameters to get specific fields from the API. Click on ‘Query Parameters’ then click ‘+ Add Parameters&#96;. FacilityBot’s interface is similar to the popular API testing and development tool: [Postman](https://www.postman.com/).

![](https://blog.facilitybot.co/wp-content/uploads/2023/04/image-34.png)

- Some APIs may return JSON nested objects. Since FacilityBot only reads one JSON level, use the JSON Nested Object Key field to extract the relevant end object data.

![](https://blog.facilitybot.co/wp-content/uploads/2023/04/image-35-569x1024.png)

- Click on ‘Send Test Request’ to get data from the system.

![](https://blog.facilitybot.co/wp-content/uploads/2023/04/image-36.png)

- Once configured, FacilityBot will poll the API at regular intervals to extract data from the sensor.
