# REST API Documentation

**URL:** <https://community.apilio.com/t/rest-api-documentation/1651>\
**Category:** Getting Started & How-To's\
**Tags:** api, variables, logicblock, conditions\
**Created:** [26 March 2021 11:36 UTC](https://community.apilio.com/t/rest-api-documentation/1651 "2021-03-26T11:36:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pebneter](https://community.apilio.com/user_avatar/community.apilio.com/pebneter/32/56_2.png) [@pebneter](https://community.apilio.com/u/pebneter)\
**Post date:** [26 March 2021 11:36 UTC](https://community.apilio.com/t/rest-api-documentation/1651/1 "2021-03-26T11:36:29Z")

</div>

# What is it?

The Apilio REST API is yet another way to access and update your data in Apilio. Other ways include: The graphical interface of our web app, the [webhooks](https://community.apilio.com/t/how-to-use-webhooks-to-update-variables-and-trigger-logicblocks-in-apilio/1607) and our integrations with other services like IFTTT or Tuya.

# What’s it good for?

It is targeted towards users who are familiar using APIs and handling JSON responses and want more ways to integrate Apilio. Something for the Pro’s! 🕶  
For instance, you can use it to fetch the current state of variables and visualise them on a smart display. Or you can integrate it with your local Home Assistant to exchange data with the outside world.

There are many possibilities - your imagination defines what you want to build with it!

Here’s the link to the detailed documentation:

> **[Apilio REST API](https://documenter.getpostman.com/view/13480928/TzCHAVD2)**
>
> The API is a REST oriented interface to retrieve various states and update existing objects.
> 
> This API allows you to:
> \- Get and update values of variables
> \- Get details and the current evaluation value of conditions
> \- Trigger Logicblock evaluations
> \-...

---

<div class="post-metadata">

**Author:** ![Anna](https://community.apilio.com/user_avatar/community.apilio.com/anna/32/72_2.png) [@Anna](https://community.apilio.com/u/Anna)\
**Post date:** [29 March 2021 13:24 UTC](https://community.apilio.com/t/rest-api-documentation/1651/2 "2021-03-29T13:24:33Z")

</div>

Thanks for this @pebneter!! 😁

I think @wookiebao might be interested, this could help you retrieve also the state of conditions for instance!

For reference, here’s @wookiebao’s great idea:

> [@IFTTT action – additional value parameters](https://community.apilio.com/t/ifttt-action-additional-value-parameters/28/12):
>
> ah ha! i think i have figured a way out of this - retrieving multiple variables and present it is a an “readable” manner. I make use of Apilio’s API, which allows user to query for boolean variables, in conjunction with iOS shortcuts, i queried each variable i want and package these variables nicely into a message that will eventually display as a notification when i run that shortcut. Apilio team, the API is great! hope you guys can expand more on it! grinning [notify]

---

<div class="post-metadata">

**Author:** ![wookiebao](https://community.apilio.com/letter_avatar_proxy/v4/letter/w/49beb7/32.png) [@wookiebao](https://community.apilio.com/u/wookiebao)\
**Post date:** [30 March 2021 00:42 UTC](https://community.apilio.com/t/rest-api-documentation/1651/3 "2021-03-30T00:42:54Z")

</div>

Ahh yes! was looking forward to this. Is very good! we can do so much more with this! Calling logicblocks will be so much faster! 😁

---

<div class="post-metadata">

**Author:** ![DanT](https://community.apilio.com/user_avatar/community.apilio.com/dant/32/9_2.png) [@DanT](https://community.apilio.com/u/DanT)\
**Post date:** [2 February 2022 18:11 UTC](https://community.apilio.com/t/rest-api-documentation/1651/4 "2022-02-02T18:11:50Z")

</div>

Thanks for the response but I find Zapier slow and rather frustrating to use and poor value for money.

I don’t want to transform the webhook call, I want to use the Helium API to call Apilio, sending the data I can extract with the Helium API to a specific Apilio string variable. I can update a string variable via the API anyhow, can’t I?

---

<div class="post-metadata">

**Author:** ![pebneter](https://community.apilio.com/user_avatar/community.apilio.com/pebneter/32/56_2.png) [@pebneter](https://community.apilio.com/u/pebneter)\
**Post date:** [6 February 2022 15:24 UTC](https://community.apilio.com/t/rest-api-documentation/1651/5 "2022-02-06T15:24:35Z")

</div>

Yes sure, that’s possible via the API.
