How It Works
π± Text message
Register your phone number below, then text any message to the J4H Twilio number.
It will be saved as a diary entry for your patient account β no app or internet needed on your phone.
To include a pain level, end your message with a number 1β10.
Example: "Left knee pain after the morning walk 6"
π Phone call
Call the J4H Twilio number. You will be greeted by name, then prompted to
speak your entry aloud. After you finish speaking, you will be asked to
press a key 1β10 for your pain level, or 0 to skip.
Your spoken words are transcribed automatically by Twilio and saved as a voice entry.
β οΈ SMS and voice entries are stored as plain text. They are not encrypted with your passcode key.
Do not include sensitive personal information you would not want visible on the server.
Twilio setup
Once you have a Twilio account and phone number, set TWILIO_ACCOUNT_SID,
TWILIO_AUTH_TOKEN, and TWILIO_PHONE_NUMBER as Heroku config vars,
then configure the Twilio number's webhooks:
Incoming SMS: https://j4h.org/api/sms
Incoming Voice: https://j4h.org/api/voice