https://dwtt.appBuild downloads with DWTT
DWTT publishes this integration outline for planning, not anonymous execution. Support must approve the clip workflow before issuing a scoped key and its traffic allowance.
Inicio rápido
DWTT makes API host easy to scan. The page starts with support-activated credentials, moves to an assigned tenant endpoint, and clearly states a server-only call path.
X-API-Key: pending_activation_…DwttToolkitv1# Available only after support activation
export DWTT_TOOL_TOKEN="issued-after-review"
curl -X POST https://dwtt.app/v1/resolve \
-H "X-API-Key: $DWTT_TOOL_TOKEN" \
-H "Content-Type: application/json" \
-d '{"source_link":"https://www.youtube.com/watch?v=VIDEO_ID"}'DWTT approaches Credential safety through server-side secret storage, then no client bundle embedding. The streamlined workflow keeps no public logs or repositories explicit.
Resolver un enlace
DWTT makes Resolve operation easy to scan. The page starts with source detection, moves to formats from one submitted URL, and clearly states no invented outputs.
/v1/resolveAlcance: resolver| sobre el terreno | Tipo de | Necesarios | Descripción de la actividad |
|---|---|---|---|
source_link | URL HTTPS | Sí | Página de medios pública o autorizada a analizar. |
tenant | cadena | No | Dominio de inquilino asignado. Por lo general, se omite. |
{
"success": true,
"platform": "youtube",
"title": "Example video",
"formats": [
{"id":"18","type":"video","quality":"360p","container":"mp4"}
],
"cached": false
}DWTT approaches Format identifier through the returned value unchanged, then per-link availability. The streamlined workflow keeps no guessed quality label explicit.
Crear y seguir un trabajo de descarga
In DWTT, asynchronous preparation comes first when explaining Job creation. That streamlined workflow follows with a short HTTP request and closes on bounded worker execution.
/v1/jobsAlcance: empleos| sobre el terreno | Tipo de | Necesarios | Descripción de la actividad |
|---|---|---|---|
source_link | URL HTTPS | Sí | La misma fuente normalizada sometida a resolver. |
format_ref | cadena | Sí | Un ID exacto de la respuesta de resolución. |
tenant | cadena | No | Dominio de inquilino asignado. Por lo general, se omite. |
curl -X POST https://dwtt.app/v1/jobs \
-H "X-API-Key: $DWTT_TOOL_TOKEN" \
-H "Content-Type: application/json" \
-d '{"source_link":"https://www.youtube.com/watch?v=VIDEO_ID","format_ref":"18"}'task_ref.GET /v1/jobs/{task_ref} with the same key.| Situación actual | Significado | Acción del cliente |
|---|---|---|
queued | Admitido en la cola acotada. | Encuesta de nuevo con retroceso. |
extracting | Actualización de metadatos de origen o ruta. | Continúa encuestando. |
processing | Descargar, remuxar o fusionar. | Mostrar el progreso del servidor. |
ready | Descarga firmada está disponible. | Envía la URL al usuario. |
failed | Error estructurado de terminal. | Read error_code. Retry only when advised. |
expired | Se eliminó la salida temporal. | Crea un nuevo trabajo. |
curl https://dwtt.app/v1/jobs/TASK_REF \
-H "X-API-Key: $DWTT_TOOL_TOKEN"To explain Job polling, DWTT separates one-second initial wait from capped backoff. A streamlined workflow gives temporary signed delivery its own place.
Errores predecibles
One non-2xx envelope is the starting point for Error contract on DWTT. A streamlined workflow then presents a support request ID and explains predictable client handling.
{
"success": false,
"error": {
"code": "RATE_LIMITED",
"category": "rate_limited",
"message": "Too many requests. Please try again shortly.",
"retryable": true,
"details": {"retry_after_seconds": 20}
},
"request_id": "…"
}| HTTP | Significado típico | Medidas |
|---|---|---|
| 400 | URL, cuerpo o formato no disponible no válido. | Corrija la solicitud. Vuelva a resolver los formatos. |
| 401 | Falta clave, no válida, caducada o con alcance incorrecto. | Compruebe la credencial del lado del servidor. |
| 403 | La directiva de inquilino o de origen rechazó la solicitud. | No elude la política. Contacte con el soporte. |
| 404 | Trabajo desconocido o caducado. | Cree un nuevo trabajo si es apropiado. |
| 429 | Se alcanzó el límite de solicitudes o trabajos activos. | Honor retry_after_seconds. |
| 503 | Cola/capacidad o upstream temporalmente no disponible. | Vuelva a intentarlo con retroceso exponencial y fluctuación. |
Contrato de explotación
DWTT sets traffic allowances during activation so clip integrations and source networks are not overloaded.
- Utilice la lógica de aplicación idempotente y nunca inicie trabajos duplicados para el mismo clic del usuario.
- La caché resuelve los metadatos brevemente, pero siempre trata las URL de descarga firmadas como si expiraran.
- Use bounded exponential backoff with jitter for
429,503and retryable errors. - Procesa solo medios públicos o medios a los que estás autorizado a acceder, sin omitir los controles de acceso ni DRM.
- Mantenga los ID de solicitud y los ID de trabajo en registros operativos privados. No registre las URL enviadas innecesariamente.
DWTT makes Schema access easy to scan. The page starts with activation before exploration, moves to assigned authentication, and clearly states documented request shapes.
Activate through support
Send DWTT the intended integration, likely request volume and target networks. Mention whether the client needs resolution, job creation or both so a scoped key can be approved and shown once.
Request activation Las claves están limitadas al ámbito del inquilino, son revocables y se emiten a través del formulario de contacto.