curl -X GET "https://api.companyflow.com/levels/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"company_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Senior Engineer",
"hierarchy_level": 3,
"min_salary": 80000,
"max_salary": 120000,
"description": "Senior level individual contributor",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
}
Retrieve a specific organizational level by ID
curl -X GET "https://api.companyflow.com/levels/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"company_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Senior Engineer",
"hierarchy_level": 3,
"min_salary": 80000,
"max_salary": 120000,
"description": "Senior level individual contributor",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
}
Show Level Response
curl -X GET "https://api.companyflow.com/levels/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"company_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Senior Engineer",
"hierarchy_level": 3,
"min_salary": 80000,
"max_salary": 120000,
"description": "Senior level individual contributor",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
}
{
"success": false,
"message": "invalid level id"
}
{
"success": false,
"message": "unauthorized"
}
{
"success": false,
"message": "internal server error"
}