Daily.co API Documentation

Daily.co Video Calls API Developer Documentation

Welcome to the Daily.co API Documentation developer hub. You'll find comprehensive guides and documentation to help you start working with API Documentation as quickly as possible, as well as support if you get stuck. Let's jump right in!

API Reference

Getting started

Developer documentation for the Daily.co video calling API.

One-click, no-download video calls

Quick links: REST API docs | Front-End API docs

We've made video calls so easy to implement that you can add video chat to your website or mobile app with just a few lines of code. Our calls are WebRTC, and work in the browser. The below image is from one of our online demos. It shows our video call UI embedded in an app:

A video call running in a mock app.

A video call running in a mock app.

See live demos and code samples here. For example, one demo shows how to quickly add a call to a web page.

<script crossorigin src="https://unpkg.com/@daily-co/daily-js"></script>
<script>
callFrame = window.DailyIframe.createFrame();
callFrame.join({ url: 'https://your-team.daily.co/hello' })
</script>             

The above code displays the call in the lower right area of the page. But you can customize everything about the call. For example, below is the code required to turn create a full-page video call. Demo it live here.

<script crossorigin src="https://unpkg.com/@daily-co/daily-js"></script>
<script>
callFrame = window.DailyIframe.createFrame({
  showLeaveButton: true,
  iframeStyle: {
    position: 'fixed',
    width: '100%',
    height: '100%'
  }
});
callFrame.join({ url: 'https://your-team.daily.co/hello' })
</script>

Our goals for the Daily.co API are:

  1. to get you up and running with video calls in just a few minutes,
  2. enable a wide variety of use cases and workflows,
  3. and give you a complete, ready to go, user interface

Front-end and back-end libraries

To add video calls in your web page or mobile app, you use our front-end javascript library. Reference docs for the front-end library are here.

To create video call rooms, configure features for the rooms, and manage users and permissions, use our server-side REST API. Reference docs for the REST API are here.

Iframes, mobile devices, and browser support

Under the covers, our front-end library creates an iframe to embed a video call into your web page or native app.

If you don't want to write any front-end code at all, you can send Daily.co video call room links to your users directly. (Most developers, though, will want to embed video calls into their own front-end interfaces).

Browser support

We support the following web browsers:

  • Chrome 74 and above
  • Safari 12.1 and above
  • Firefox 66 and above
  • Microsoft Edge 18
  • Electron 6 and above

Microsoft Edge can participate only in 1:1 calls (no group calls).

Chrome is the only browser that can screen-share. (All browsers can view screen shares, but only a call participant using Chrome can share their screen.)

Mobile support

  • iOS 12.1 and later versions
  • Android 5.0 and above with current security and platform updates

If you are starting calls from a web application on iOS, it usually makes sense to open a new tab because mobile device screen sizes tend to be small enough that there's not much room to embed the call as an iframe.

If you are starting a call from within a native application, you have to open a Safari tab from your application, because the native iOS WebView component does not (yet) allow access to the necessary camera, microphone, and network protocols.

We provide a couple of configuration parameters that help streamline the user flow into and out of a new Safari tab, though. See Customizing the in-call UI, below.

On Android, you can embed calls inside a WebView in your application.

For more information on embedding Daily.co calls in native mobile apps, please see this blog post.

How to contact us

If you need technical support, or have questions, suggestions, or feature requests, please send us email: help@daily.co

We also monitor the live chat on our website and respond there as quickly as we can.

Getting started


Developer documentation for the Daily.co video calling API.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.