Skip to main content
GET
https://api.usegately.com
/
api
/
v1
/
members
curl -X GET "https://api.usegately.com/api/v1/members?page=1&limit=20&status=active" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "success": true,
  "data": [
    {
      "id": "mem_abc123",
      "email": "[email protected]",
      "full_name": "John Doe",
      "avatar_url": "https://example.com/avatar.jpg",
      "status": "active",
      "plan_id": "plan_pro",
      "metadata": {
        "company": "Acme Inc"
      },
      "created_at": "2024-01-15T10:30:00Z"
    },
    {
      "id": "mem_xyz789",
      "email": "[email protected]",
      "full_name": "Jane Smith",
      "status": "active",
      "plan_id": "plan_basic",
      "created_at": "2024-01-14T09:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 150,
    "total_pages": 8
  }
}

Query Parameters

page
number
default:"1"
Page number for pagination
limit
number
default:"20"
Number of members per page (max 100)
Search by email or name
status
string
Filter by status: active, inactive, pending
plan
string
Filter by plan ID
sort
string
default:"created_at"
Sort field: created_at, email, full_name
order
string
default:"desc"
Sort order: asc or desc

Response

success
boolean
Whether the request was successful
data
array
Array of member objects
pagination
object
Pagination metadata
curl -X GET "https://api.usegately.com/api/v1/members?page=1&limit=20&status=active" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "success": true,
  "data": [
    {
      "id": "mem_abc123",
      "email": "[email protected]",
      "full_name": "John Doe",
      "avatar_url": "https://example.com/avatar.jpg",
      "status": "active",
      "plan_id": "plan_pro",
      "metadata": {
        "company": "Acme Inc"
      },
      "created_at": "2024-01-15T10:30:00Z"
    },
    {
      "id": "mem_xyz789",
      "email": "[email protected]",
      "full_name": "Jane Smith",
      "status": "active",
      "plan_id": "plan_basic",
      "created_at": "2024-01-14T09:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 150,
    "total_pages": 8
  }
}