curl --location 'https://api-dev.thesource.wiki/api/v1/categories' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Engineering",
"description": "All engineering resources",
"icon": "folder",
"color": "#4F46E5"
}'{
"success": true,
"message": "Category created successfully.",
"data": {
"id": 42,
"name": "Engineering",
"description": "All engineering resources",
"icon": "folder",
"color": "#4F46E5",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2019-08-24T14:15:22.123Z"
},
"errors": null
}