You like tinkering and maybe already have a savant teddy bear at your bedside that listens to all those ideas that pop up before you fall to sleep? You can now connect it directly to Napkin and add those ideas to your swarm of thoughts.
Here's how:
Open Napkin and go to your account area
In the "API" area, add a new token
Send thoughts to the API
Get the thought url in the API response
Please mind: the API is for applications that send single thoughts to your account. You can't really use it to import archives of notes as it'll run into timeouts.
Sample call:
curl https://app.napkin.one/api/createThought \
-X POST \
-H 'Accept:application/json' \
-H 'Content-Type: application/json' -d '{
"email": "[email protected]",
"token": "macchina-dettatura-ec1air8wcr",
"thought": "The natural desire of good men is knowledge.",
"sourceUrl": "https://thevisualagency.com/works/decoding-leonardo-da-vinci-for-the-world/"
}'
Sample response:
{
"thoughtId":"-NV-DjhK61Ct4mMx-K06",
"url":"https://app.napkin.one/t/-NV-DjhK61Ct4mMx-K06"
}