Reputation API
Base URL: https://api.kamu.co.id
B2B endpoint untuk fetch reputation score & verified profile data dari kamu.co.id. Cocok untuk fintech KYC, marketplace seller scoring, recruitment screening, partner DD. Semua endpoint require API key + respect user consent.
/v1/health
Liveness probe. No auth needed (returns even without API key).
{
"status": "ok",
"db": "ok",
"php": "8.2.x",
"timestamp": "2026-04-26T10:30:00Z"
}
/v1/public/profiles/{username}/reputation
Returns reputation score (0-100), star level (1-5), verified count.
Consent required: reputation_lookup.
| username | String, required | Profile slug (e.g. angga). |
curl https://api.kamu.co.id/v1/public/profiles/angga/reputation \ -H "X-API-Key: kamu_live_..."
{
"success": true,
"data": {
"username": "angga",
"score": 87,
"star_level": 4,
"verified_platforms": 6,
"updated_at": "2026-04-26T08:15:00Z"
},
"meta": { "timestamp": "...", "version": "v1" }
}
/v1/public/profiles/{username}
Profile basic data (display_name, bio, profession, location). Public + consent-bound.
{
"success": true,
"data": {
"username": "angga",
"display_name": "Angga F.",
"bio": "Engineering Manager · Mobile Apps",
"profession": "engineering",
"location": "Jakarta, ID",
"verified": true
}
}
/v1/public/profiles/{username}/platforms
List verified platforms (LinkedIn, GitHub, Behance, dst.) dengan handle public + last_synced_at.
{
"success": true,
"data": [
{
"platform": "linkedin",
"handle": "username",
"verified": true,
"last_synced_at": "2026-04-25T22:30:00Z"
},
{ "platform": "github", "handle": "username", ... }
]
}
/v1/me/consents
List consent dari user authenticated (JWT, bukan API key). Untuk app mobile/web user-facing.
{
"success": true,
"data": {
"items": [
{
"id": 12,
"purpose": "reputation_lookup",
"granted_at": "2026-01-10T...",
"expires_at": null,
"status": "active"
}
]
}
}