---
title: "media"
method: GET
path: "/campaigns/{campaign}/media"
tags: ["Media"]
---

# media

`GET /campaigns/{campaign}/media`

Returns all images in the campaign media library.

#### For custom components:
`RaiselyComponents.api.one('campaigns', '{campaign}').all('media').get(params = {}, headers = {}) => Promise<{result}>`

 :fa-gears: See [Restie Response Data](https://github.com/raisely/restie#reading-and-handling-responses) for a more detailed overview of responses through the client wrapper

## Path parameters

- `campaign` string, required

## Headers

- `Authorization` string

## Response `200`

Media library for the campaign

- object
  - `data` object[]
    - `uuid` string
    - `url` string
    - `file` string
    - `type` string
    - `folder` string

## Other responses

- `401` — Authorization credentials were missing or invalid
- `403` — The user is authenticated, but is not allowed to perform the requested operation
- `410` — The requested record no longer exists, or that API has been deprecated
- `429` — You have made too many requests to the given endpoint, please try again later
- `500` — An unexpected error has occurred with Raisely. If the error persists you can contact support@raisely.com

---

[API](https://skmtc.dev/raisely/apis/raisely-api.md) · [All operations](https://skmtc.dev/raisely/apis/raisely-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/raisely/raisely-api/revisions/d7f8dd294cb0/schema)
