Onboarding
Die Onboarding API ermöglicht die Verfolgung und Steuerung des Benutzer-Onboarding-Prozesses.
Endpunkte
| Methode | Endpunkt | Beschreibung |
|---|---|---|
GET | /api/v1/onboarding/status | Onboarding-Status abrufen |
PUT | /api/v1/onboarding/step | Schritt aktualisieren |
POST | /api/v1/onboarding/complete | Onboarding abschließen |
Onboarding-Status
GET /api/v1/onboarding/statusResponse
{
"success": true,
"data": {
"userId": "user_abc123",
"completed": false,
"currentStep": 3,
"totalSteps": 5,
"steps": [
{ "id": 1, "name": "profile", "completed": true, "completedAt": "2026-01-22T10:00:00Z" },
{ "id": 2, "name": "organization", "completed": true, "completedAt": "2026-01-22T10:05:00Z" },
{ "id": 3, "name": "first_project", "completed": false, "current": true },
{ "id": 4, "name": "first_page", "completed": false },
{ "id": 5, "name": "publish", "completed": false }
],
"startedAt": "2026-01-22T10:00:00Z"
}
}Schritt aktualisieren
PUT /api/v1/onboarding/step{
"step": "first_project",
"completed": true,
"data": {
"projectId": "proj_xyz789"
}
}Onboarding abschließen
POST /api/v1/onboarding/complete{
"success": true,
"data": {
"completed": true,
"completedAt": "2026-01-22T11:00:00Z",
"achievements": ["quick_starter"]
}
}