Log in to cPanel for a hosting account

Create a secure login link to cPanel for a selected hosting account. Use this when you need to access hosting settings, such as managing files, databases, or email accounts. Returns a unique ID (requestId) that may be needed for follow-up API calls.

Headers

Accept Example
Content-Type Example

Body

required
application/json
accountId string required

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/cpanel-sso
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/cpanel-sso" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountId": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "link": "string"
  }
}
Request Body
{
  "accountId": "string"
}