/v1/user
A user profile
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/discourse-api/v1/user" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/discourse-api/v1/user", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/discourse-api/v1/user");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/discourse-api/v1/user",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"user": {
"name": "Jeff Atwood",
"admin": true,
"title": "co-founder",
"avatar": "https://meta.discourse.org/user_avatar/meta.discourse.org/codinghorror/120/110067_2.png",
"username": "codinghorror",
"moderator": false,
"created_at": "2013-02-05T04:44:25.476Z",
"profile_url": "https://meta.discourse.org/u/codinghorror",
"trust_level": 2,
"last_seen_at": "2026-06-08T06:59:49.649Z"
}
},
"meta": {
"timestamp": "2026-06-09T03:03:23.769Z",
"request_id": "cfc89d91-b82f-4c7b-b3ff-4ba2b816e9ec"
},
"status": "ok",
"message": "User retrieved successfully",
"success": true
}