Preview only — activation required

Build 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.

DwttToolkitJSON over HTTPSAsynchronous jobsScoped credentials
01

Quick start

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.

Tenant URLhttps://dwtt.app
AuthenticationX-API-Key: pending_activation_…
Client profileDwttToolkit
API versionv1
# 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.

02

Resolve a link

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.

POST/v1/resolveScope: resolve
FieldTypeRequiredDescription
source_linkHTTPS URLYesPublic or authorized media page to analyze.
tenantstringNoAssigned tenant domain. Usually omitted.
{
  "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.

03

Create and follow a download job

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.

POST/v1/jobsScope: jobs
FieldTypeRequiredDescription
source_linkHTTPS URLYesThe same normalized source submitted to resolve.
format_refstringYesAn exact ID from the resolve response.
tenantstringNoAssigned tenant domain. Usually omitted.
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"}'
1202 AcceptedSave task_ref.
2Poll statusGET /v1/jobs/{task_ref} with the same key.
3ReadyOpen the signed download URL.
StatusMeaningClient action
queuedAdmitted to the bounded queue.Poll again with backoff.
extractingRefreshing source metadata or route.Continue polling.
processingDownloading, remuxing or merging.Display server progress.
readySigned download is available.Send the URL to the user.
failedTerminal structured error.Read error_code. Retry only when advised.
expiredTemporary output was removed.Create a new job.
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.

04

Predictable errors

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": "…"
}
HTTPTypical meaningAction
400Invalid URL, body or unavailable format.Correct the request. Resolve again for formats.
401Missing, invalid, expired or wrong-scope key.Check the server-side credential.
403Tenant or source policy rejected the request.Do not bypass the policy. Contact support.
404Unknown or expired job.Create a new job if appropriate.
429Request or active-job limit reached.Honor retry_after_seconds.
503Queue/capacity or upstream temporarily unavailable.Retry with exponential backoff and jitter.
05

Operational contract

DWTT sets traffic allowances during activation so clip integrations and source networks are not overloaded.

DWTT makes Schema access easy to scan. The page starts with activation before exploration, moves to assigned authentication, and clearly states documented request shapes.

OPERATOR-REVIEWED ACCESS

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 Keys are tenant-scoped, revocable and issued through the Contact form. Anonymous scripts cannot execute downloader work.