# Award XP via API
curl -X POST https://yourapp.com/api/v1/xp \
-H "Authorization: Bearer rr_your_api_key" \
-H "Content-Type: application/json" \
-d '{"user_id": "usr_xxx", "amount": 100}'
# Response
{
"success": true,
"data": {
"xp_awarded": 100,
"new_total_xp": 1500,
"new_level": 5,
"level_up": true
}
}