Skip to content

New: approval links for agency clients. See what's new →

API & automation

Video clipping API and webhooks

Everything in the dashboard is also available as an API. REST API under /api/v1 with keys scoped per permission. Available from the Pro plan.

Open API reference ↗
curl -s https://api.zerosnip.com/api/v1/clips?status=approved \
  -H "Authorization: Bearer $ZEROSNIP_KEY"

Endpoints

GET/api/v1/sourcesList sources
POST/api/v1/sourcesAdd a source (with rights declaration)
GET/api/v1/jobsJobs and their status
GET/api/v1/clipsScored clips incl. sub-scores and reason
POST/api/v1/clips/{id}/approveApprove or reject a clip
GET/api/v1/publicationsPublications per platform
GET/api/v1/usageUsage in the current period
POST/api/v1/webhooksRegister a webhook

Webhooks

Scoped API keys, rate limits and HMAC-signed webhooks with retries. Events: job.completed, job.failed, clip.ready, clip.published. Signed with HMAC-SHA256 (header X-Zerosnip-Signature), retried with backoff. Events: job.completed, job.failed, clip.ready, clip.published.

X-Zerosnip-Signature: t=1795490000,v1=<hex>
# v1 = HMAC-SHA256(secret, f"{t}.{raw_body}")

What the API is for

The REST API lets you drive zer0snip from your own system: bring in new videos, check processing status, fetch finished clips with their score, approve or reject them and see what was published where. Typical cases are agencies with their own client portal, course platforms that process new lessons automatically, and teams that pull clips into their editorial system.

Authentication and permissions

Every request carries an API key in the Authorization: Bearer header. Keys belong to an organization, and we only store a hash. Per key you set permissions – for example only reading clips (clips:read), or also creating sources (sources:write) and managing webhooks (webhooks:manage). Keys can be rotated and revoked; each key has its own per-minute limit, 120 requests by default.

Bringing in videos – with proof of rights

Create new sources with POST /sources: as a link to Google Drive, Dropbox or a direct video file. YouTube links are not processed. Every source states where the rights come from (own material, client contract or explicit permission) with a proof such as a contract number. Without it, the API does not accept the source.

Webhooks instead of polling

Instead of asking repeatedly, get notified: job.completed, job.failed, clip.ready and clip.published. Every delivery is signed with HMAC-SHA256 (X-Zerosnip-Signature header with timestamp) so you can verify it came from us. If a delivery fails, we retry with growing intervals – seven attempts over about 31 hours – and log every attempt.

Frequently asked questions

Which plan includes the API?

API and webhooks are included in the Pro and Agency plans. On Creator you work through the web interface.

Where is the full documentation?

The OpenAPI documentation with all endpoints, fields and examples is at api.zerosnip.com/api/docs.

Can I bring in YouTube videos through the API?

No. The API accepts links to Google Drive, Dropbox or direct video files. We do not process YouTube links or channels.

Can I approve clips through the API?

Yes. POST /clips/{id}/approve or /reject decides on a clip; the approval is logged with the key prefix.

Is there a request limit?

Yes, per key and minute – 120 requests by default. If exceeded, the API answers with status 429.

Read next