curl -X GET "https://api.usegately.com/api/v1/members/mem_abc123" \
-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",
"plan": {
"id": "plan_pro",
"name": "Pro Plan",
"price": 29
},
"metadata": {
"company": "Acme Inc",
"role": "developer"
},
"last_login_at": "2024-01-20T14:30:00Z",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-20T14:30:00Z"
}
}
Retrieve a single member by ID
curl -X GET "https://api.usegately.com/api/v1/members/mem_abc123" \
-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",
"plan": {
"id": "plan_pro",
"name": "Pro Plan",
"price": 29
},
"metadata": {
"company": "Acme Inc",
"role": "developer"
},
"last_login_at": "2024-01-20T14:30:00Z",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-20T14:30:00Z"
}
}
Show Member properties
active, inactive, pendingcurl -X GET "https://api.usegately.com/api/v1/members/mem_abc123" \
-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",
"plan": {
"id": "plan_pro",
"name": "Pro Plan",
"price": 29
},
"metadata": {
"company": "Acme Inc",
"role": "developer"
},
"last_login_at": "2024-01-20T14:30:00Z",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-20T14:30:00Z"
}
}
Was this page helpful?