How do I update Apilio from Arduino

I’m looking at the page link below hoping to find how to use the webhooks but the link to the ‘webhooks documentation’ just displays an image.

I can trigger IFTTT from arduino, and I was then using IFTTT to update Apilio, but I see i can do this direct with Apilio now, but I can’t find the right documentation.

Hi @Alex ,
you actually have two options:

The web hooks interface is a bit easier to use because you don’t have to care about HTTP headers and Basic Authentication, but the REST API is more powerful.

thank you. I am looking for actual URL examples that I can modify and use from Arduino or Python.

The link in this pane looks tempting but just displays an image


where can i find examples with URLs ?

If you click on the icon, it should copy the URL to your clipboard. Is that not working?

Is that not working?

hard to say - i’m not quite sure what should be happening. I expected the underlined link to go to a documentation page, or even a PDF with some examples like I have seen elsewhere.

When you left-click on the icon, it should show a quick note to confirm the URL was copied to your clipboard:

That is done via JavaScript, so in case you have it deactivated it probably won’t work.

hmmn - i just seem to be going round in circles. I think it’s trying to do something clever or helpful but it’s not working for me.

do you have any ‘normal’ documentation i can read ?

I guess we have a bit of a usability issue (sorry - we try to improve! :disappointed:)
The link to documentation is the one in my first comment.
Maybe you are looking for a generic way to compile those URLs? That is not possible, because every URL is unique for security reasons. You need to copy each URL from the show view for a variable or Logicblock, depending on the action you want: update a variable, run a Logicblock, etc.

I.e. an URL to update one of my variables looks like this:

ah right - i understand, no generic answer as each variable has a unique id. I assumed i could use the variable name as the context would be implied from my security key, but no matter I understand the approach now.

So i created a new string variable and found the link to get this :-1:

where so i add the value i want to set - can you provide an example of how i might set this to ‘Workshop’ please

Fantastic, thanks for this, we’ve noticed the string URLs are missing the value bit at the end, we will fix this! Thanks for your feedback.

To use your webhooks, you need to add it to the end of your URL like this:

Add &value=some_value at the end:

For example:

ok thanks - i’ll try this later

1 Like

Not sure if you had altered the IDs before pasting here. In case you haven’t, you should either cycle your web hooks key (from or delete the variable and start with a new one.