curl -X GET "https://api.usegately.com/api/v1/members/mem_abc123" \
-H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch('https://api.usegately.com/api/v1/members/mem_abc123', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
})
const data = await response.json()
{
"success": true,
"data": {
"id": "mem_abc123",
"email": "john@example.com",
"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"
}
}
{
"success": false,
"error": "Member not found",
"code": "NOT_FOUND"
}
Members
Get Member
Retrieve a single member by ID
GET
/
api
/
v1
/
members
/
{id}
curl -X GET "https://api.usegately.com/api/v1/members/mem_abc123" \
-H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch('https://api.usegately.com/api/v1/members/mem_abc123', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
})
const data = await response.json()
{
"success": true,
"data": {
"id": "mem_abc123",
"email": "john@example.com",
"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"
}
}
{
"success": false,
"error": "Member not found",
"code": "NOT_FOUND"
}
Path Parameters
Response
The member object
Show Member properties
Show Member properties
curl -X GET "https://api.usegately.com/api/v1/members/mem_abc123" \
-H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch('https://api.usegately.com/api/v1/members/mem_abc123', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
})
const data = await response.json()
{
"success": true,
"data": {
"id": "mem_abc123",
"email": "john@example.com",
"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"
}
}
{
"success": false,
"error": "Member not found",
"code": "NOT_FOUND"
}
Was this page helpful?