View App members
View App members
GET
https://api.ocamba.com/v2/ocamba/apps/{id}/members
Retrieves the details of a App member if a valid identifier was provided
Tip
Sortable fields are create_time and update_time.
Path parameters
parametersQuery parameters
parametersResponse schemas
›
200
application/json
curl -X GET \
"https://api.ocamba.com/v2/ocamba/apps/{id}/members" \
-H "Authorization: Bearer {TOKEN}"const url = 'https://api.ocamba.com/v2/ocamba/apps/{id}/members';
const options = {
method: 'GET',
headers: {
Authorization: `Bearer {TOKEN}`
}
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}$ch = curl_init("https://api.ocamba.com/v2/ocamba/apps/{id}/members");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);Responses
200 OK
{
"total": 2,
"items": [
{
"id": "1234567",
"name": "John Doe",
"status": "active",
"email": "[email protected]",
"create_time": "2021-07-30 12:50:13",
"update_time": "2021-07-30 12:50:13"
},
{
"id": "7654321",
"name": "Jane Doe",
"status": "active",
"email": "[email protected]",
"create_time": "2020-08-28 11:29:48",
"update_time": "2021-04-15 17:13:59"
}
]
}
Responses