Siri Shortcuts (iPhone/iPad)
- Generate your Voice API Key (in the Voice card) and copy it.
- Open the Shortcuts app → New Shortcut → “Add to Siri”.
- Add actions:
- Dictate Text → prompt “What’s the task?”.
- Text → set to:
{
"title": "🗣️ [[Dictated Text]]",
"due_date": "today"
}
- Get Contents of URL → URL:
https://YOUR_DOMAIN/taskapp/backend/integrations/voice_create.php
Method: POST, Headers: X-Voice-Key: <your key>, Content-Type: application/json, Body: the Text above.
- (Optional) “Show Result”.
- Say “Hey Siri, add a task …”
Google Assistant (via IFTTT)
- Generate your Voice API Key and copy it.
- Create an IFTTT applet:
- Trigger: Google Assistant → “Say a phrase with a text ingredient” (e.g., “Add task $”).
- Action: Webhooks → Make a web request to:
https://YOUR_DOMAIN/taskapp/backend/integrations/voice_create.php
Method: POST, Content Type: JSON, Body:
{ "title": "{{TextField}}", "due_date": "today" }
Header: X-Voice-Key: <your key>
- Say “Hey Google, add task call the vendor tomorrow”.
Keep your Voice API Key secret. You can regenerate it anytime.