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.
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.
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.
I guess we have a bit of a usability issue (sorry - we try to improve! )
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.
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 https://app.apilio.com/user) or delete the variable and start with a new one.
@pebneter I want to connect an IoT device to Apilio but I have no control over the message formatting so can’t use webhooks as I can’t simply append something to the end of the webhooks URL. Surely the API is more useful for this as I can structure variable and data contents? But it’s not very clear to me how I can use this (sorry I know the documentation is comprehensive but I’m more of a tinkerer than an API coder)? Is there an Idiots Guide to using an API anywhere?
If you need to transform an incoming webhook with a given format to an Apilio acceptable webhook, you can use Zapier. They have a no-code/low-code workflow module that can extract data from a incoming request and provide that data to an outgoing action.
The Apilio API follows the REST principle, so basically any guide that explains REST should be a good start.
I just had a look at Postman (a great tool that for tinkering with APIs) and they have a lot of material also for starters: https://learning.postman.com/docs/getting-started/introduction/