Menu

Expand
Rate this page:

Twilio Live REST API

The Twilio Live REST API allows you to create and manage livestreaming application resources from your back-end server via HTTPS requests. You can create and end PlayerStreamers, configure your MediaProcessor, and generate PlaybackGrants for Player SDK authentication.

All Twilio Live REST API resources use the following base URL.

https://media.twilio.com

All requests to the Twilio Live 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://media.twilio.com/v1/ \
       -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 Twilio Live REST API are:

Resource Description
PlayerStreamer A PlayerStreamer is a resource that provides the ability to send livestream media content and to a Player SDK.
MediaProcessor A MediaProcessor is a resource that provides the ability to capture audio and/or video from a web application.
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 Community Forums or browsing the Twilio tag on Stack Overflow.

        
        
        

        Thank you for your feedback!

        We are always striving to improve our documentation quality, and your feedback is valuable to us. Please select the reason(s) for your feedback or provide additional information about how we can improve:

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

        Thanks for your feedback!

        Refer us and get $10 in 3 simple steps!

        Step 1

        Get link

        Get a free personal referral link here

        Step 2

        Give $10

        Your user signs up and upgrade using link

        Step 3

        Get $10

        1,250 free SMSes
        OR 1,000 free voice mins
        OR 12,000 chats
        OR more