---
title: "Get all the backgrounds of an On Demand page"
method: GET
path: "/ondemand/pages/{ondemand_id}/backgrounds"
tags: ["On Demand\\Backgrounds"]
---

# Get all the backgrounds of an On Demand page

`GET /ondemand/pages/{ondemand_id}/backgrounds`

## Request

- Base URL: `https://api.vimeo.com`
- URL: `https://api.vimeo.com/ondemand/pages/{ondemand_id}/backgrounds`
- Auth: OAuth 2
  - Authorization code: `/oauth/authorize`, token URL `/oauth/access_token`
  - Client credentials, token URL `/oauth/authorize/client`
  - Scopes: `create`, `delete`, `edit`, `email`, `interact`, `private`, `promo_codes`, `public`, `purchase`, `purchased`, `stats`, `upload`, `video_files`
- TypeScript: <https://skmtc.dev/vimeo/apis/vimeo-api/docs/ondemand/pages/:ondemand_id/backgrounds/get.ts> (a function with typed inputs; its response is checked against the schema)

Information about this method appears below.

## Path parameters

- `ondemand_id` number, required

## Query parameters

- `page` number
- `per_page` number

## Response `200`

The background images were returned.

- Picture[]
  - `active` boolean, required: Whether this picture is the active picture for its parent resource.
  - `link` string: The upload URL for the picture. This field appears when you create the picture resource for the first time.
  - `resource_key` string, required: The picture's resource key string.
  - `sizes` object[], required: An array containing reference information about all available image files.
    - `height` number, nullable, required: The height of the image.
    - `link` string, required: The direct link to the image.
    - `link_with_play_button` string: The direct link to the image with a play button overlay.
    - `width` number, required: The width of the image.
  - `type` 'caution' | 'custom' | 'default', required: The type of the picture: Option descriptions: * `caution` - An image that is appropriate for all ages. * `custom` - A custom image for the video. * `default` - The default image for the video.
  - `uri` string, required: The picture's URI.

## Other responses

- `404`: No such On Demand page exists.

---

[API](https://skmtc.dev/vimeo/apis/vimeo-api.md) - [All operations](https://skmtc.dev/vimeo/apis/vimeo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vimeo/apis/vimeo-api/revisions/ea882e0224a4?raw)
