---
title: "List components"
method: GET
path: "/v1/components"
tags: ["Components"]
---

# List components

`GET /v1/components`

Retrieve a paginated list of email components.

## Query parameters

- `perPage` string
- `cursor` string

## Response `200`

Successful.

- ListComponentsResponse
  - `pagination` Pagination, required
    - `totalResults` number, required
    - `returnedResults` number, required
    - `perPage` number, required
    - `totalPages` number, required
    - `nextCursor` string, nullable, required
    - `nextPage` string, nullable, required
  - `data` Component[], required
    - `id` string, required
    - `name` string, required
    - `lmx` string, required — The component body serialized as LMX.

## Other responses

- `400` — Invalid `perPage` value.
- `401` — Invalid API key or content API not enabled for this team.
- `405` — Wrong HTTP request method.

---

[API](https://skmtc.net/loops/apis/loops-openapi-spec.md) · [All operations](https://skmtc.net/loops/apis/loops-openapi-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loops/loops-openapi-spec/revisions/9cc087257f0d/schema)
