---
title: "GET /media/session"
method: GET
path: "/media/session"
tags: ["Media"]
---

# GET /media/session

`GET /media/session`

Api to list the url to call to set the media session cookie. The call will also redirect to the same url.
The media session cookie can be used to replace the bearer authentication for mp4 playback in web browsers.

## Response `200`

OK

- ApiMediaSessionURL
  - `url` string, url, required — Url for the media endpoint that sets the media session cookie

## Other responses

- `400` — The supplied object is invalid. Error detail will contain the validation error.
- `401` — You are not authenticated. Please authenticate and try again.
- `500` — Something went wrong in the server. Please try again.
- `503` — The service or resource is currently not available

---

[API](https://skmtc.net/eagleeyenetworks/apis/devices.md) · [All operations](https://skmtc.net/eagleeyenetworks/apis/devices/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eagleeyenetworks/devices/revisions/df57313de545/schema)
