A webhook for receiving SMS messages when you need a real, long-term, honest-to-$DEITY cell phone.
curl \
-H "Content-Type: application/json" \
-X POST \
-d '{"like":"Confirmation code: XXXXXX", "url":"https://yourserver.com/whatever"}' \
https://littlpig.com/api/smshook/<subscription-id>/listen
This will return the number you should text:
{"status":"ok", "number":"555-555-5555", "ttl":300}
{
"from": "555-555-1234",
"date": "12/12/2024",
"time": "09:10:56",
"text": "Your confirmation code: 123456",
}