> ## 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/pixverse-v6-text-to-video.json webhook pixverseTaskCompleted
openapi: 3.1.0
info:
  description: >-
    PixVerse V6 text-to-video: one prompt becomes a 1–15 second video at up to
    1080p, with multi-shot and native audio.
  title: PixVerse V6 Text to Video
  version: v1
servers:
  - url: https://api.dreamto.ai
security:
  - bearerAuth: []
tags:
  - name: PixVerse V6 Text to Video
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.