GET
/
lists
curl --request GET \
  --url https://api.indiepitcher.com/v1/lists \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "name": "newsletter",
      "title": "Newsletter",
      "numSubscribers": 1032
    }
  ],
  "metadata": {
    "page": 1,
    "per": 10,
    "total": 20
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:
1

Page to fetch, the first page has index 1.

per
integer
default:
10

How many lists to return per page.

Response

200 - application/json
A paginated list of mailing lists
success
boolean
data
object[]
metadata
object