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


#1

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


#2

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

From Alfred to Inbox
#3

Thank you so much!


#4

Thanks @Danny_Nelson!