Add a Readwise highlights using Apple Shortcuts

Hi everyone,

Firstly, I want to point out that I am new to coding and I am French, so please excuse me for the mistakes.

I try to use Apple Shortcuts with the Readwise API to send more easily things into my Readwise workspace.

I have my Readwise Token, the Readwise URL but I can't connect the shortcuts with readwise with the JSON objects.

In the JSON part, first I choose "Dictionary" with the key "highlights" and I add an item "Array" to put the key "text" as stated on the Readwise API site.

But I always have an error "expected a list of items but got type dict".

I tried various combinations but I can't reach my goal. Someone can help me ?

Thanks, Golgoth.

You're nearly there. The error message gives the clue, because it expects a list of items (=array) first.

So, highlights = array and then for each highlight you add a dict underneath:

Add a Readwise highlights using Apple Shortcuts
 
 
Q