DislifyDislify

Command Palette

Search for a command to run...

Developer platform

A media pipeline your product can call directly.

Authenticate with an API key, submit a media job, and receive signed events when the optimized file is ready.

Quick start

From key to compressed result.

The API follows the same job model as the customer workspace: authenticate, submit, observe, and deliver.

Your access

quick-start
import { readFile } from "node:fs/promises"

const tokenRes = await fetch("https://api.dislify.com/v1/developers/token", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    apiKey: process.env.DISLIFY_API_KEY,
  }),
})

const { token } = await tokenRes.json()

const fileBytes = await readFile("./video.mp4")
const formData = new FormData()
formData.append(
  "file",
  new Blob([new Uint8Array(fileBytes)], { type: "video/mp4" }),
  "video.mp4",
)
formData.append("compression", "balanced")

const jobRes = await fetch("https://api.dislify.com/v1/jobs", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${token}`,
  },
  body: formData,
})

const job = await jobRes.json()

console.log(job.id)
console.log(job.status)

Platform surface

Everything required for a production integration.

The developer experience includes access control, job lifecycle endpoints, quota tracking, and event delivery.

API-key access

Generate account-scoped keys, exchange them for short-lived tokens, and keep secrets outside browser code.

Asynchronous jobs

Submit uploads, receive a job ID, inspect status, and download the result when processing completes.

Signed webhooks

Register endpoints for job, upload, and quota events with HMAC signatures and rotatable secrets.

Usage visibility

Track request totals, remaining quota, plan limits, and recent processing activity from the dashboard.

job.completed
signed
{
  "type": "job.completed",
  "data": {
    "jobId": "job_84x",
    "status": "done",
    "downloadUrl": "https://..."
  }
}

Event delivery

Stop polling when the job is finished.

Subscribe to completion and failure events, verify each signature, and trigger the next step in your workflow immediately.

HMAC-signed payloads
Job, upload, and quota events
Test delivery and rotate secrets

Ready when you are

Build against the same pipeline that powers the workspace.

Use the full API reference for authentication, compression jobs, status checks, and webhook registration.