Admin APIMembers
Browse members.
Authorization
GhostAdminJWT Authorization<token>
Send Authorization: Ghost <JWT>. This is a custom Ghost scheme, not
standard Bearer.
The JWT is signed with HS256 using the Admin API key secret after hex
decoding it to bytes. The JWT header must include kid set to the Admin
API key id. Ghost verifies the aud claim against the requested Admin or
Content API path and enforces a maximum token age of 5 minutes.
In: header
Query Parameters
include?string
Comma-separated includes. Allowed values are email_recipients, products, and tiers.
filter?string
NQL filter string.
fields?string
Comma-separated field list.
limit?|
order?string
page?integer
search?string
Response Body
application/json
curl -X GET "https://example.com/members/?include=tiers&filter=status%3Apublished&fields=id%2Ctitle%2Cslug%2Cstatus&limit=15&order=published_at+desc&page=1"{
"members": [
{
"id": "string",
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"email": "user@example.com",
"name": "string",
"note": "string",
"geolocation": "string",
"subscribed": true,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"labels": [
{
"id": "string",
"name": "string",
"slug": "string"
}
],
"subscriptions": [
{}
],
"avatar_image": "http://example.com",
"comped": true,
"status": "free",
"last_seen_at": "2019-08-24T14:15:22Z",
"email_count": 0,
"email_opened_count": 0,
"email_open_rate": 0,
"tiers": [
{
"id": "string",
"name": "string",
"description": "string",
"slug": "string",
"active": true,
"type": "free",
"welcome_page_url": "http://example.com",
"visibility": "public",
"benefits": [
"string"
],
"currency": "string",
"monthly_price": 0,
"yearly_price": 0,
"trial_days": 0,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"newsletters": [
{
"id": "string",
"name": "string",
"description": "string",
"status": "string"
}
]
}
],
"meta": {
"pagination": {
"page": 0,
"limit": 0,
"pages": 0,
"total": 0,
"next": 0,
"prev": 0
}
}
}