Nobody unlocks a phone with a baby in their arms. These three shortcuts do what you would do in the app without ever opening it: you say it to Siri and it is logged.
First, the key
A shortcut cannot sign in with your browser session: it needs a key of its own. You make one inside the app, under Settings, and the same one works for all three.
It is shown once, right after it is made: nothing but its fingerprint is kept here. Copy it then — if it gets lost, that one is revoked and another is made, and nothing else happens.
Because Apple does not allow it: since iOS 15 the Shortcuts app refuses any shortcut that is not signed, and signing one can only be done by a Mac or by the app itself when somebody shares it. So what gets published here is an iCloud link made from a real iPhone, or the steps to build it yourself. What you will not find is a button that looks like it works and leaves you on a page that does not exist.
The three shortcuts
None of them asks which baby you mean: if there is one in your home, that is the one. And none of them decides anything — napnap is what looks at whether a sleep is open and answers accordingly, so the same shortcut puts them down and gets them up.
When is the next nap due?
«Hey Siri, how is the baby doing»
Siri reads out how long they have been awake and when the next nap is due. It logs nothing: it only asks.
The import link is not published yet. In the meantime it is built by hand with the steps below: it takes two minutes and it is done once.
What it asks for
GET
https://napnap.es/api/v1/say?lang=en
Fell asleep, woke up
«Hey Siri, she is down»
One shortcut for both. If they were awake it opens the sleep, and if they were asleep it closes it. Saying it twice by mistake does not log a one-second nap: it undoes it. It reads the result out loud when it is done, which is the only way to know it went through without looking at a screen.
The import link is not published yet. In the meantime it is built by hand with the steps below: it takes two minutes and it is done once.
What it asks for
POST
https://napnap.es/api/v1/babies/first/toggle
What it sends
{}
And then, to read it out loud
https://napnap.es/api/v1/say?lang=en
Start a feed
«Hey Siri, start a feed»
Opens a feed on the left breast. If one was already running it does not open a second: it answers the one that was. For the right, duplicate the shortcut and change «left» to «right».
The import link is not published yet. In the meantime it is built by hand with the steps below: it takes two minutes and it is done once.
What it asks for
POST
https://napnap.es/api/v1/babies/first/feeds/start
What it sends
{"side":"left"}
And then, to read it out loud
https://napnap.es/api/v1/say?lang=en
Building it by hand
All three are built the same way; the only thing that changes is the address and what they send. In the Shortcuts app on the iPhone, with the plus sign at the top right:
1Add the «Get Contents of URL» action and paste the address above into it.
2Open «Show More» and set the method the shortcut says, GET or POST.
3Under «Headers» add one called Authorization, with the word Bearer, a space and your key as its value.
4If the shortcut sends something, set «Request Body» to JSON and add the fields shown above. The one that sends nothing is left with an empty body.
5Finish with «Speak Text». On the two that log something, add a second «Get Contents of URL» before it, with the read-out-loud address and the same header, and let that be what gets spoken.
6Name the shortcut: that is what you will say to Siri, so the shorter and the more natural, the better.
If you would rather it said nothing and only logged, drop the last action. And if there is more than one baby in your home, swap «first» in the address for their identifier, which comes from the list of babies in the API.
The shortcuts are not a special case: they call the same API the app does, and it is documented in full.