Skip to Content
List Playback Restrictions
get

Returns a list of all Playback Restrictions.

curl 'https://api.mux.com/video/v1/playback-restrictions' \
  -X GET \
  -H "Content-Type: application/json" \
  -u ${MUX_TOKEN_ID}:${MUX_TOKEN_SECRET}
Request path & query params
page
integer
(default: 1)

Offset by this many pages, of the size of limit

limit
integer
(default: 25)

Number of items to include in the response

get
200
/video/v1/playback-restrictions
Response
(application/json)
{
  "total_row_count": 2,
  "page": 1,
  "limit": 100,
  "data": [
    {
      "id": "9dbEg8o00uqQzZbzJT6NXdqNA00SdnSo8O",
      "updated_at": "1607945257",
      "created_at": "1607939184",
      "referrer": {
        "allowed_domains": [
          "*.example.com"
        ],
        "allow_no_referrer": false
      },
      "user_agent": {
        "allow_no_user_agent": false,
        "allow_high_risk_user_agent": false
      }
    },
    {
      "id": "012uTQqPygDYWz3jey8cyOX9n01Bd5SDH1",
      "updated_at": "1607945980",
      "created_at": "1607939188",
      "referrer": {
        "allowed_domains": [
          "a.example.com",
          "b.example.com"
        ],
        "allow_no_referrer": true
      },
      "user_agent": {
        "allow_no_user_agent": false,
        "allow_high_risk_user_agent": false
      }
    }
  ]
}