GET
/
v1
/
viewports
Retrieve Available Viewports
curl --request GET \
  --url https://api.urldna.io/v1/viewports \
  --header 'Authorization: <api-key>'
[
  {
    "device": "DESKTOP",
    "width": 123,
    "height": 123
  }
]

Authorizations

Authorization
string
header
required

Response

200
application/json

List of available viewports retrieved successfully.

The response is of type object[].