I don't think Insert From URL will work.
Altho I have never done todoist myself...
In their API there are examples for CURL.
My best bet is to use the free BaseElements plugin from Goya.
Their HTTP functions use CURL and you can set the options with BE_Curl_Set_Options ( option ; value ).
The plugin can also process JSON data.
You will need quite some scripting:
OAuth > get the token > pass the calls with the token > process data > error checking.
Thanks for the feedback.
I have converted the CURL statements to simple URL code and its working good in InsertFromURL step.
how about posting an example to help others, can't learn anything from what you have said...
You should be able to do this with Insert From URL if you've already got a token via the user's settings page. Then just do :
"https://todoist.com/API/v6/sync?token=0123456789abcdef0123456789abcdef01234567&seq_no=0&seq_no_global=0&resource_types=" & GetAsURLEncoded ( "'[\"all\"]'" )
Note how for anything other than plain text, you may need to url encode the data. Also note that there are bugs in v13 with insert from url where it tries to re-encode your data and this would break some characters such as = or & if they were in the content you're trying to send. In v14 you can fix this by turning off the encoding with the checkbox and doing the GetAsURLEncoded yourself.
It doesn't appear that you'd need a plugin for this API, but you might hit a limit with the amount of data you can send, as it's all doing GET.