Fetching data

You want to fetch lists of members, subscriptions, or products.

Fetching members

Pass the page query parameter to paginate the list. Members are sorted by creation date, and the default page is page=1.

Request

GET https://yoursite.memberful.com/admin/members.json?auth_token=XXXXXX
Accept: application/json
{
  "members": [
    {
      "address": {
        "street": "Street",
        "city": "City",
        "postal_code": "Postal code",
        "country": "City"
      },
      "created_at": 1503300783,
      "credit_card": {
        "exp_month": 1,
        "exp_year": 2040
      },
      "custom_field": "Custom field value",
      "email": "john.doe@example.com",
      "first_name": "John",
      "full_name": "John Doe",
      "id": 0,
      "last_name": "Doe",
      "phone_number": "555-12345",
      "stripe_customer_id": "cus_00000",
      "unrestricted_access": false,
      "username": "john_doe"
    }
  ]
}

Fetching plans

Request

GET https://yoursite.memberful.com/admin/subscriptions.json?auth_token=XXXXXX
Accept: application/json

Response

Status: 200 OK
Content-Type: application/json
[
  {
    "id": 0,
    "price": 1000,
    "name": "Sample plan",
    "slug": "0-sample-plan",
    "renewal_period": "monthly",
    "interval_unit": "month",
    "interval_count": 1,
    "for_sale": true
  }
]

Fetching products

Request

GET https://yoursite.memberful.com/admin/products.json?auth_token=XXXXXX
Accept: application/json

Response

Status: 200 OK
Content-Type: application/json
[
  {
    "id": 0,
    "name": "Sample download",
    "price": 1000,
    "slug": "0-sample-download",
    "for_sale": true
  }
]

General

How to

CMS Integrations

Email Newsletters

Discussion Forums

WordPress

Video

API