Support Departments

Retrieve active system support channels.
GET /departments

Retrieves a list of all active support departments defined in the system.

cURL Example

curl -X GET "https://api.hotsol.net/api/v1/departments" \
     -H "Authorization: Bearer hk_sec_your_secret_key_here" \
     -H "Accept: application/json"

Response Example

{
    "success": true,
    "message": "Active departments retrieved successfully.",
    "data": [
        {
            "id": 1,
            "uuid": "dept_abc123xyz789",
            "department_name": "Technical Support",
            "email": "support@hotsol.io",
            "is_active": true
        },
        {
            "id": 2,
            "uuid": "dept_def456uvw012",
            "department_name": "Billing & Invoices",
            "email": "billing@hotsol.io",
            "is_active": true
        }
    ]
}