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

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