Menu

Expand
Rate this page:

Programmable Video REST API

The Programmable Video REST API allows you to control your video applications from your back-end server via HTTP requests. You can create and complete Rooms, query their status, retrieve Recording files, configure a webhook for Status Callbacks, and more.

All Programmable Video REST API resources use the following base URL.

https://video.twilio.com

All requests to the Programmable Video Rooms REST API are served over HTTPS. Unencrypted HTTP is not supported.

Authentication

HTTP requests to the REST API are protected with HTTP Basic authentication. To learn more about how Twilio handles authentication, please refer to our security documentation. You will use your Twilio API Key Sid as the username and the key's associated API Key Secret as the password for HTTP Basic authentication.

curl -G https://video.twilio.com/v1/Rooms \
       -u '{API Key Sid}:{API Key Secret}'

You can manage your API Keys in the console.

Resources

The resources you will be interacting with via the Programmable Video REST API are:

Resource Description
Rooms A Room represents a multi-party communications session among users in your application, where users can share and receive real-time audio and video tracks with one another.
Participants A Participant is one user session in a Room.
PublishedTrack Published Tracks represent media shared in a Room by a Participant.
Recordings A Recording represents the recorded media for an audio, video, or screen share Track shared in a Room.
Compositions A Composition represents a playable media file resulting from the mixing of a set of Group Room video Recordings.
Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

Loading Code Sample...
        
        
        

        Thank you for your feedback!

        Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        thanks-feedback-gif