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
Path parameters
parametersQuery parameters
parametersResponse schemas
›
200
application/json
GET https://api.ocamba.com/v2/ocamba/apps/{id}/members HTTP/1.1
Host: api.ocamba.com
Authorization: Bearer YOUR_SECRET_TOKEN
curl -X GET "https://api.ocamba.com/v2/ocamba/apps/{id}/members" \
-H "Authorization: Bearer $TOKEN"
fetch("https://api.ocamba.com/v2/ocamba/apps/{id}/members", {
method: "GET",
headers: { Authorization: `Bearer ${TOKEN}` }
}).then(r => r.json());
$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
HTTP/1.1 200 OK
Content-Type: application/json
{
"total": 2,
"items": [
{
"id": "1000163",
"company_id": "1000000",
"name": "John Doe",
"status": "active",
"email": "[email protected]",
"image": "https://image-uri-example.com",
"preferences": {
"general": {
"theme": "light",
"timezone": 1,
"number_format": {
"thousand_separator": ".",
"decimal_separator": ","
},
"date_format": "DD-MM-YYYY",
"time_format": "24",
"first_week_day": "mon",
"currency": "EUR"
},
"security": {
"ip_restrictions": [
[
"1.1.1.1"
]
],
"country_restrictions": [
[
"AF"
]
]
}
},
"create_time": "2021-07-30 12:50:13",
"update_time": "2021-07-30 12:50:13"
}
]
}
Responses
Tip
1
Sortable fields are create_time and update_time.