get_audio_devotional
The same daily devotional, SPOKEN — for members who would rather listen, or who read little. Returns audio URLs alongside the text. Requires an API key (speech costs money per character).
Language: pass a consent_token with the 'context:read' scope and the member's own preferred language is used, so you need not ask them; or pass language explicitly for a one-off. If SoapBox has no voice for that language the tool says so and returns text only — it will NOT read the devotional in the wrong voice.
SCRIPTURE IS ALWAYS SPOKEN IN ENGLISH (KJV) and its translatable flag is false. SoapBox never machine-translates Scripture and this API serves the public-domain KJV only. Never translate the verse yourself and never pass a translated verse back in.
For a non-English member this is a TWO-STEP call: step 1 returns translate_this (our framing prose only — the opening, the reflection questions and the prayer prompt); translate just that into their language and call again with the same date and reference plus reflection_text, and you get both audio files back. For an English member one call returns the whole thing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day to build the devotional for, as YYYY-MM-DD. Defaults to today (UTC). | |
| format | No | Audio container for the returned files. | mp3 |
| gender | No | Optional preferred voice gender for the framing prose. | NEUTRAL |
| language | No | Optional language for the framing prose, as a language code (not a locale is fine: 'es', 'pt-BR', 'zh-Hans'). Overrides the member's profile. Scripture stays English regardless. | |
| reference | No | Optional: use this passage instead of the season's selection. | |
| consent_token | No | Optional SoapBox consent token with the 'context:read' scope, which lets the devotional be spoken in the member's own preferred language without asking them. Omit it and the tool falls back to `language`, then to English. An invalid, expired or wrong-scope token returns an authorization error. | |
| reflection_text | No | Step 2 of a non-English devotional: YOUR translation of the `translate_this` text returned by step 1. Must contain only the framing prose — never a translated Bible verse. |