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
}
}
Retrieve a paginated list of members in your project
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
}
}
active, inactive, pendingcreated_at, email, full_nameasc or descShow Member properties
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
}
}
Was this page helpful?