Skip to main content
GET
/
members
List Members or Get a Member
curl --request GET \
  --url https://schoolmaker.co/api/v1/members \
  --header 'Authorization: Bearer <token>'
{
  "members": [
    {
      "id": "<string>",
      "email": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "last_seen_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "total_count": 123,
    "total_pages": 123,
    "current_page": 123
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

product_id
string
offer_id
string
page
integer
default:1
id
string

If provided, returns the member with this ID instead of a list.

email
string

If provided (and id not given), returns the member with this email instead of a list.

Response

200 - application/json

List of members (when no id/email) or a single member (when id/email provided).

members
object[]

25 members per page.

pagination
object