Journaling for Health

πŸ“± Phone Setup

Text a diary entry from your phone

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

Register a Phone Number

Finding your Patient ID Go to Select Patient, choose a patient, then open your browser's developer console and run: JSON.parse(localStorage.getItem('j4h_current_patient')) β€” the patient_id field is what you need.

Registered Numbers

Loading…