Request to open port 25 for outgoing email

Submit a request to open port 25 for outgoing email traffic from your VPS, necessary if you plan to run your own email server. The endpoint returns a request ID to track the status of your application or for follow-up actions.

Headers

Accept Example
Content-Type Example

Body

required
application/json
serviceId string required
ipAddress string required
justification string

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/port25/requests
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/port25/requests" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "serviceId": "string",
    "ipAddress": "string",
    "justification": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "approved": true,
    "request": {
      "id": 0,
      "clientId": "string",
      "serviceId": "string",
      "serviceName": "string",
      "ipAddress": "string",
      "justification": "string",
      "status": "string",
      "decisionReason": "string",
      "decidedByAdminId": "string",
      "decidedByAdminUsername": "string",
      "autoApproved": true,
      "trustTier": 0,
      "bankidVerified": true,
      "totalSpend": "string",
      "accountAgeDays": 0,
      "createdAt": "string",
      "updatedAt": "string"
    },
    "whitelistEntry": {
      "id": 0,
      "ipAddress": "string",
      "clientId": "string",
      "serviceId": "string",
      "serviceName": "string",
      "notes": "string",
      "addedByAdminId": "string",
      "addedByAdminUsername": "string",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}
Request Body
{
  "serviceId": "string",
  "ipAddress": "string",
  "justification": "string"
}