Media Gateway Overview

Updated

Manage Media Gateway ingress streams, templates, and notification IPs using RESTful APIs.

The Media Gateway RESTful APIs provide server-side control over ingress streaming keys, online stream sessions, flow configuration templates, and notification service IP ranges.

API basics

All requests are sent to the host api.agora.io.

  • Authentication: Media Gateway REST APIs require RESTful authentication for authentication.
  • Request: Refer to the respective API examples.
  • Response: The response content is in JSON format.
  • Base URL: https://api.agora.io/{region}/v1/projects/{appId}
  • All request URLs and request bodies are case-sensitive.
  • Keep Media Gateway REST calls on the server side.

REST APIs

Streaming key APIs

Online stream APIs

Template and notification APIs