curl -G https://api.kwugwo.africa/v1/onye \
-H "Authorization: Bearer $KWUGWO_SECRET_KEY" \
--data-urlencode "limit=50"
const page = await fetch("https://api.kwugwo.africa/v1/onye?limit=50", {
headers: { Authorization: `Bearer ${process.env.KWUGWO_SECRET_KEY}` },
}).then(r => r.json());
<?php
$ch = curl_init("https://api.kwugwo.africa/v1/onye?limit=50");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('KWUGWO_SECRET_KEY')],
]);
$page = json_decode(curl_exec($ch), true);
curl_close($ch);
import os, requests
page = requests.get(
"https://api.kwugwo.africa/v1/onye",
headers={"Authorization": f"Bearer {os.environ['KWUGWO_SECRET_KEY']}"},
params={"limit": 50},
).json()
req, _ := http.NewRequest("GET", "https://api.kwugwo.africa/v1/onye?limit=50", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KWUGWO_SECRET_KEY"))
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
{
"data": [
{
"uid": "ony.VCvr.7K2qPmRtV9xLnQ8sD1cYwHfE",
"email": "ada@example.com",
"first_name": "Ada",
"last_name": "Okeke",
"status": "active"
}
],
"next_cursor": null
}
Customers (Onye)
List customers
Page through customers on the workspace.
GET
/
v1
/
onye
curl -G https://api.kwugwo.africa/v1/onye \
-H "Authorization: Bearer $KWUGWO_SECRET_KEY" \
--data-urlencode "limit=50"
const page = await fetch("https://api.kwugwo.africa/v1/onye?limit=50", {
headers: { Authorization: `Bearer ${process.env.KWUGWO_SECRET_KEY}` },
}).then(r => r.json());
<?php
$ch = curl_init("https://api.kwugwo.africa/v1/onye?limit=50");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('KWUGWO_SECRET_KEY')],
]);
$page = json_decode(curl_exec($ch), true);
curl_close($ch);
import os, requests
page = requests.get(
"https://api.kwugwo.africa/v1/onye",
headers={"Authorization": f"Bearer {os.environ['KWUGWO_SECRET_KEY']}"},
params={"limit": 50},
).json()
req, _ := http.NewRequest("GET", "https://api.kwugwo.africa/v1/onye?limit=50", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KWUGWO_SECRET_KEY"))
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
{
"data": [
{
"uid": "ony.VCvr.7K2qPmRtV9xLnQ8sD1cYwHfE",
"email": "ada@example.com",
"first_name": "Ada",
"last_name": "Okeke",
"status": "active"
}
],
"next_cursor": null
}
Returns a cursor-paginated list of onyes on the
workspace, newest first.
Query parameters
Cursor returned by the previous page.
Page size, between
1 and 100.Response
Page of customers. Each item matches the Create response.
Cursor for the next page, or
null on the last page.curl -G https://api.kwugwo.africa/v1/onye \
-H "Authorization: Bearer $KWUGWO_SECRET_KEY" \
--data-urlencode "limit=50"
const page = await fetch("https://api.kwugwo.africa/v1/onye?limit=50", {
headers: { Authorization: `Bearer ${process.env.KWUGWO_SECRET_KEY}` },
}).then(r => r.json());
<?php
$ch = curl_init("https://api.kwugwo.africa/v1/onye?limit=50");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('KWUGWO_SECRET_KEY')],
]);
$page = json_decode(curl_exec($ch), true);
curl_close($ch);
import os, requests
page = requests.get(
"https://api.kwugwo.africa/v1/onye",
headers={"Authorization": f"Bearer {os.environ['KWUGWO_SECRET_KEY']}"},
params={"limit": 50},
).json()
req, _ := http.NewRequest("GET", "https://api.kwugwo.africa/v1/onye?limit=50", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KWUGWO_SECRET_KEY"))
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
{
"data": [
{
"uid": "ony.VCvr.7K2qPmRtV9xLnQ8sD1cYwHfE",
"email": "ada@example.com",
"first_name": "Ada",
"last_name": "Okeke",
"status": "active"
}
],
"next_cursor": null
}
⌘I

