Thank you for choosing Live4.tv for integrating your live streaming solution. With this API we aim to help you abstract away all the complexity of managing live streams programmatically. So you can utilize a unique integration that works for all social networks.

For the full list of endpoints and the open API documentation, see https://api-stream-network.live4.tv/api

This documentation will walk you through the API and help you understand the documentation.

<aside> ⚠️ On ALL requests described in this documentation, you must pass the API KEY as a header x-api-key . In case you still don’t have an API KEY, please contact us via WhatsApp on +1 347-708-0219 or email [email protected].

</aside>

Table of Contents:

1. Login and Authorisation flow

Live4.tv offers a hosted login flow. So you don’t need to worry about the intrinsics of each social network.

You only need to generate a redirect URL, redirect your user to it, and we will take care of the rest.

See the flow bellow:

mermaid-diagram-login-flow.png

For the login flow, you must:

  1. Create a unique identifier string which will be the reference for the social network in your system.
  2. Call the endpoint /authorise-url passing the body: