---
title: "List All"
method: GET
path: "/mailing-lists/"
tags: ["Mailing Lists"]
---

# List All

`GET /mailing-lists/`

## Request

- Base URL: `https://api.thanks.io/api/v2`
- URL: `https://api.thanks.io/api/v2/mailing-lists/`
- Auth: HTTP bearer

List all available mailing lists. Returns a paginated list of mailing lists.

## Query parameters

- `items_per_page` integer

## Response `200`

OK

- object
  - `data` MailingList[]
    - `id` integer
    - `user_id` integer
    - `sub_account_id` integer, nullable
    - `type` 'csv' | 'manual' | 'map' | 'friends' | 'retarget' | 'leads' | 'zapier' | 'radius' | 'highlevel' | 'qrscans'
    - `description` string
    - `qrcode_url` string, nullable
    - `total_recipients` integer
    - `processed` boolean
    - `is_suppression_list` boolean
    - `total_scans` integer
    - `unique_scans` integer
    - `last_scan` string, nullable
    - `total_sends` integer
    - `last_send` string, nullable
    - `api_key` string: API key that can be used to add recipients to this mailing list with thanks.io Webhooks
    - `created_at` string, date-time
    - `created_at_diff` string: Human-friendly relative time since creation
    - `updated_at` string, date-time
  - `links` Links
    - `first` string, nullable: URL of the first page of results
    - `last` string, nullable: URL of the last page of results
    - `prev` string, nullable: URL of the previous page of results
    - `next` string, nullable: URL of the next page of results
  - `meta` Meta
    - `current_page` integer: Current page number
    - `from` integer, nullable: Index of the first item on the current page
    - `last_page` integer: Total number of pages
    - `path` string: Base URL for the resource
    - `per_page` integer: Number of items per page
    - `to` integer, nullable: Index of the last item on the current page
    - `total` integer: Total number of items

## Other responses

- `403`: Access token is missing or invalid

---

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