GET /v1/users/profile
curl -X GET "https://api.whizo.ai/v1/users/profile" \ -H "Authorization: Bearer YOUR_API_KEY"
{ "success": true, "data": { "id": "user_123", "email": "[email protected]", "fullName": "John Doe", "plan": "pro", "credits": { "monthly": 10000, "used": 2500, "remaining": 7500 }, "usage": { "thisMonth": { "requests": 245, "pagesScraped": 1200 } }, "createdAt": "2025-01-01T00:00:00Z" } }
PUT /v1/users/profile
curl -X PUT "https://api.whizo.ai/v1/users/profile" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "fullName": "John Smith", "preferences": { "notifications": true, "theme": "dark" } }'
GET /v1/users/usage
curl -X GET "https://api.whizo.ai/v1/users/usage?period=30d" \ -H "Authorization: Bearer YOUR_API_KEY"