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.


This should do the trick:

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}\"}" \

From Alfred to Inbox

Thank you so much!


Thanks @Danny_Nelson!