Configure delivery
delivery_configureSet or update where and how this brand’s daily content package is delivered. Returns the signing secret ONCE, on first configuration or when rotate_secret is true — store it, it cannot be read back. telegram_enabled is FALSE by default: an agent-provisioned brand is webhook-only unless you deliberately turn the Telegram approval card back on, in which case BOTH fire.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | deliver_only (the default) hands the finished package to your webhook and you publish it. publish_through means we post it to the accounts the brand connected — it is READ-ONLY here: only the brand owner can grant it, in Telegram, after connecting an account. Start that with social_connect_link and watch for it with social_accounts_list. | |
| brand | Yes | Brand slug. | |
| paused | No | Stop delivering without losing configuration. | |
| platforms | No | Caption variants to include. Omit for all 11. | |
| webhook_url | No | Public https:// endpoint. Private and loopback addresses are refused. | |
| auto_approve | No | Publish-through only, and a kill switch rather than a schedule: false stops unattended publishing for this brand even if the owner turned it on. Whether and WHEN it happens stays theirs. Default false. | |
| approval_mode | No | What a human tap on that card means. Requires telegram_enabled. "gate" holds the package until a human approves in Telegram — you get package.pending_approval first and package.ready only after the tap. "notify" delivers immediately and the card is a receipt. Default "none". | |
| rotate_secret | No | Mint a new signing secret. Breaks existing verification until you redeploy. | |
| telegram_enabled | No | Also send the Telegram approval card. Default false. |