

Once that's saved, we're ready to test it out!

Set the method to POST, and the Content Type to application/json.įinally, for the body, we're going to create a JSON string that will also contain data from our TickTick to-do item, pulled in automatically with the help of IFTTT.Īll of these form fields should look like the screenshot below: The URL is going to be one of the ones returned to us by serverless earlier, and should end in just /dev/todos. On this page, we're going to add in all of the details for the web request. Select the Webhooks service, and on the following page choose the only action available, Make a web request. Hit create, and we're brought back to the Applet creation screen for the TT in IFTTT. Me personally, I'm using the Inbox list, with all tags and any priority, so it looks like this: On the next screen, you'll determine if you want to limit this by only firing on select task lists, tags, or priorities. But for this first one, select New task created. You're presented with two possible triggers, of which we're going to use both. This is going to function as the tie between TickTick and our newly-created API.Ĭreate a new Applet, and for the service select TickTick. Okay, let's head over to IFTTT and either create or sign in to your account. If so, we're on the right track, and we can move on to getting data from TickTick into it. Note: If you get an error back about AWS provider credentials not being found, follow this guide to set them up in order to work with your serverless CLI app.Īlright, so now you should be able to visit your API endpoint at, and as of right now it should be returning back an empty array. Go ahead and open up a terminal or command prompt window, and run the following command to get the serverless app installed:Įnter fullscreen mode Exit fullscreen mode We'll be loosely following this tutorial to create our serverless AWS API. Unless you're going to be using this API every minute, you shouldn't incur any direct costs.Įverything we need to do in order to set up these three services is going to be handled through the command line using the serverless app.
TICKTICK API FREE

It was built for a very simple purpose of mine, but depending on your use case, it could be perfect for you as well. The free tiers of both of these services is all that's required to get your personal API running, so this doesn't cost a single cent.ĭisclaimer: This is not intended to replace a full-featured API and only works for your own TickTick account. However, it is required that you have accounts for both, and recommended that you've at least played around with both of them a little bit. This article doesn't expect you to have any in-depth familiarity with AWS or IFTTT.
