> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dreamto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Task callback

> When the task was created with `callBackUrl`, DreamTo sends this `POST` there once the task succeeds or fails. The outer `code` is `200` (success) or `501` (failure) and `data` is the same as the `data` of the query endpoint. Verify the sender with `X-DreamTo-Signature` and answer with any `2xx`.



## OpenAPI

````yaml /openapi/en/gemini-3-8-flash-lite-tts.json webhook geminiTTSTaskCompleted
openapi: 3.1.0
info:
  description: >-
    Google's cost-efficient text-to-speech model for high-volume dubbing,
    content creation and voice agents; same interface as Flash TTS, output as
    WAV.
  title: Gemini 3.8 Flash Lite TTS
  version: v1
servers:
  - url: https://api.dreamto.ai
security:
  - bearerAuth: []
tags:
  - name: Gemini 3.8 Flash Lite TTS
paths: {}
components:
  securitySchemes:
    bearerAuth:
      description: >-
        API Key created in the DreamTo console, sent as `Authorization: Bearer
        <API Key>`.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.