Retrieve a list of all available support departments for ticket routing. This information is used to allow you to select the correct department when creating a support ticket. The endpoint also returns department IDs needed for subsequent API calls.
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/support/departments curl -X GET "https://cloud.hostup.se/api/support/departments" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"departments": [
{
"id": 0,
"name": "string",
"description": "string",
"email": "string",
"visible": true
}
]
}
}