Test request
curl --request GET \
--url https://api.hilos.io/api/account-member \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"page": 123,
"page_size": 123
}
'import requests
url = "https://api.hilos.io/api/account-member"
payload = {
"page": 123,
"page_size": 123
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.get(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({page: 123, page_size: 123})
};
fetch('https://api.hilos.io/api/account-member', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hilos.io/api/account-member",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POSTFIELDS => json_encode([
'page' => 123,
'page_size' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hilos.io/api/account-member"
payload := strings.NewReader("{\n \"page\": 123,\n \"page_size\": 123\n}")
req, _ := http.NewRequest("GET", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hilos.io/api/account-member")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"page\": 123,\n \"page_size\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hilos.io/api/account-member")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"page\": 123,\n \"page_size\": 123\n}"
response = http.request(request)
puts response.read_body[
{
"first_name": "string",
"last_name": "string",
"email": "user@example.com",
"id": 0,
"teams": [
{
"id": 0,
"name": "string",
"assignment_strategy": "string"
}
],
"account": 0,
"groups": [
{
"id": 0,
"name": "string"
}
],
"profile_image": "http://example.com",
"date_joined": "2019-08-24T14:15:22Z"
}
]
Getting started
Test request
GET
/
api
/
account-member
Test request
curl --request GET \
--url https://api.hilos.io/api/account-member \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"page": 123,
"page_size": 123
}
'import requests
url = "https://api.hilos.io/api/account-member"
payload = {
"page": 123,
"page_size": 123
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.get(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({page: 123, page_size: 123})
};
fetch('https://api.hilos.io/api/account-member', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hilos.io/api/account-member",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POSTFIELDS => json_encode([
'page' => 123,
'page_size' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hilos.io/api/account-member"
payload := strings.NewReader("{\n \"page\": 123,\n \"page_size\": 123\n}")
req, _ := http.NewRequest("GET", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hilos.io/api/account-member")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"page\": 123,\n \"page_size\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hilos.io/api/account-member")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"page\": 123,\n \"page_size\": 123\n}"
response = http.request(request)
puts response.read_body[
{
"first_name": "string",
"last_name": "string",
"email": "user@example.com",
"id": 0,
"teams": [
{
"id": 0,
"name": "string",
"assignment_strategy": "string"
}
],
"account": 0,
"groups": [
{
"id": 0,
"name": "string"
}
],
"profile_image": "http://example.com",
"date_joined": "2019-08-24T14:15:22Z"
}
]
On this doc we’ll make a test request to the API to the
account-member endpoint to check if your Token works by requesting the users list on our account.
Header parameters
required
The authentication API token from your account
Body parameters
integer
The page number to retrieve.
integer
The number of items per page.
[
{
"first_name": "string",
"last_name": "string",
"email": "user@example.com",
"id": 0,
"teams": [
{
"id": 0,
"name": "string",
"assignment_strategy": "string"
}
],
"account": 0,
"groups": [
{
"id": 0,
"name": "string"
}
],
"profile_image": "http://example.com",
"date_joined": "2019-08-24T14:15:22Z"
}
]
Was this page helpful?
⌘I

