Does anyone have curl code to "add to inbox"? Sorry I am not good at programming

I have generated an API key and have curl installed to my terminal.

1 Like

This should do the trick:

TOKEN="FIXME"
CONTENT="I'm a task"
NOTE="I'm a note"

curl --header "Content-Type: application/json" \
  --request POST \
  --data "{\"token\":\"${TOKEN}\",\"content\":\"${CONTENT}\",\"note\":\"${NOTE}\"}" \
  https://dynalist.io/api/v1/inbox/add
8 Likes

Thank you so much!

1 Like

Thanks @Danny_Nelson!

@Danny_Nelson

Any idea how to incorporate this into Keyboard Maestro? I’m thinking of adding email subject and content as variables.

not sure but start here Add to Inbox via IFTTT

Many thanks, but managed to sort it out a while ago. See here