Skip to main content

Videas Developer

Connect your tools to your Videas library

The Videas public API feeds your organization's library — files sent from your server or your users' browser, fetched from a link, or videos hosted on YouTube, Vimeo or Dailymotion —, reads and edits what it holds, and publishes it on your channels. A REST API in JSON, described by an OpenAPI 3.1 contract.

POST /v1/uploads
curl -X POST https://api.videas.com/v1/uploads \
  -H "Authorization: Bearer $VIDEAS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "workspace_id": "0192a6b1-7c3e-7d40-9a51-3f0e2b6c8d10",
    "source_url": "https://media.example.com/lecture.mp4",
    "external_ref": "course-42/lecture-1"
  }'

Why Videas API

Your library, from your code

The API plugs your tools — CMS, LMS, catalog, production pipeline — into your organization's library and its channels. What it adds there is processed like everything your team sends from the app, and its contract holds: under /v1 nothing is removed or renamed, only additions land.

Feed the library

Send a file of up to 10 GiB from your server or straight from your users' browser, in one PUT or resumably with tus, give a link that Videas downloads for you, or add a video hosted on YouTube, Vimeo or Dailymotion. The asset exists from the first answer.

Read it and keep it current

List and count your assets and workspaces, filter them by type, by workspace or by your own identifier, follow each asset until it can be played, and change its words, its tags, its custom fields and its thumbnail.

Publish on your channels

Read the organization's channels and their categories, publish an asset on a channel, now or at a date to come, file it, choose who it is for, and take it off by archiving it.

How it works

From a file to a published video, in three steps

  1. 01

    Create a key

    An owner or an administrator of the organization creates an API key in the app's settings and chooses what it may do among seven permissions: read the library, feed it, edit its assets, import videos from other platforms, read the channels, publish on them, read the playback sessions. The key stays on your server.

  2. 02

    Add to the library

    POST /v1/uploads creates the asset at once. Then send the file to the address the answer gives — or pass a link instead, and Videas fetches it in the background. A YouTube, Vimeo or Dailymotion video is added with POST /v1/assets.

  3. 03

    Publish it on a channel

    Poll the asset until it is ready, fill in its words, its tags and its thumbnail, then publish it on a channel with POST /v1/publications, now or at a date to come.

Quick start

Plain HTTP and JSON, from any language

Nothing to install: every endpoint is shown in cURL, Node.js and Python in the reference, and the OpenAPI 3.1 contract downloads to generate a client in the language of your choice.

Quick startcURL
curl "https://api.videas.com/v1/assets?type=video&order=desc" \
  -H "Authorization: Bearer $VIDEAS_API_KEY"

Frequently
asked questions

How do I authenticate my requests?

With an API key of your organization, sent as a Bearer token: Authorization: Bearer ak_…. An owner or an administrator creates it in the app's settings and ticks what it may do among seven permissions: read the library, add files to it, edit its assets, import videos from other platforms, read the channels, publish on them, read the playback sessions. The ones that read are ticked by default, the ones that write are not. Its full value is shown once, at creation. The key belongs to the organization, not to a person: it keeps working when whoever created it leaves.

Can I call the API from a web page?

No, on purpose: a key stays on a server, and /v1 sends no CORS headers. For a user to send a file from their browser, your server opens the upload with its key and hands the page only that upload's address and token, which open nothing else.

How do I add a video?

With POST /v1/uploads, which creates the asset at once. Either you send the file to the address the answer gives — in one PUT up to 50 MiB, with tus beyond, which resumes where a dropped connection stopped it — or you pass a link, and Videas downloads the file in the background. Up to 10 GiB per file. A video hosted on YouTube, Vimeo or Dailymotion is added with no file, with POST /v1/assets, once Videas has turned on videos hosted elsewhere for your organization.

How do I know when a video is ready?

By asking the API: no notification is sent yet. GET /v1/uploads/{upload_id} says how far the upload got; once it has completed, GET /v1/assets/{asset_id} says how far the asset got, from processing to ready.

Can I publish on my channels through the API?

Yes. GET /v1/channels and GET /v1/categories read the organization's channels and their categories; POST /v1/publications publishes a ready asset on a channel, as a draft, now or at a date to come; PATCH /v1/publications/{publication_id} changes its status, its date, its address, its filing, whether the channel lists it, or who it is for. A publication is not deleted: it is archived.

Is there an SDK?

No. The API is plain HTTP and JSON: the reference shows every call in cURL, Node.js and Python, and the OpenAPI 3.1 contract downloads to generate a client in the language of your choice. For a resumable upload, any tus 1.0 client will do.

Can I publish videos without touching the API?

Yes. The player embeds with the code the app gives for each asset — no API key, no server. It is the shortest path to a video online. The API is there to automate what the app does: feeding the library in bulk, keeping your assets and your channels in step with your own catalogue.

How is the API versioned?

The version lives in the URL: every route starts with /v1/. A new endpoint, optional parameter, field or value ships without a new version; removing or renaming anything, changing a type or refusing what used to be accepted would be a /v2. The changelog dates what lands.