Zum Inhalt springen
GET /v1/users/id

User ID

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/snapchat-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/snapchat-api/v1/users/id" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/snapchat-api/v1/users/id", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/snapchat-api/v1/users/id");
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/snapchat-api/v1/users/id",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "id": "d278c2a0-5c8e-447b-8711-cfca0c15ca07",
        "username": "jlo",
        "business_profile_id": "a2d94d79-6df1-46de-a0a8-75b63b26bcbd"
    },
    "meta": {
        "timestamp": "2026-05-04T13:59:43.300Z",
        "request_id": "05df243f-1e28-4181-92a0-5a75dc08f536"
    },
    "status": "ok",
    "message": "User ID retrieved successfully",
    "success": true
}