Request Port 25 unblock for a VPS

POST /api/v2/support/port25-requests

Submit an outbound SMTP Port 25 unblock request for one VPS owned by the caller.

The account must satisfy abuse-prevention requirements before the request is accepted: BankID verification or an annual-or-longer prepaid VPS term.

reason is required because support review uses it when automatic approval is not available.

Support Tickets

Authentication

Required API scopes: write:networkwrite:support

Authenticate with an API key in the Authorization: Bearer <token> header.

Context

Headers

Authorization Bearer <token>
Accept application/json
Content-Type application/json

Body

required
application/json
vpsId string required · Example: vps_01hxa3b4c5d6e7f8g9h0j1k2m3

Public VPS ID from GET /api/v2/vps data[].id.

reason string required · Example: We send transactional email for example.com from authenticated users with bounce handli...

Customer-facing explanation of how outbound SMTP will be used.

Responses

201 Port 25 request accepted.
id string required · Example: p25_01hxa3b4c5d6e7f8g9h0j1k2m3
vpsId string · nullable required · Example: vps_01hxa3b4c5d6e7f8g9h0j1k2m3

vpsName string · nullable required · Example: mail.example.com

ipAddress string required · Example: 203.0.113.10
status string · enum required · Example: pending
pending
approved
rejected
unknown
reason string · nullable required · Example: We send transactional email for example.com from authenticated users with bounce handli...

requestedAt string · nullable required · Example: 2026-06-03T03:25:00.000Z

resolvedAt string · nullable required · Example: null

400 The request body is invalid or missing required fields.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
401 Authentication is required.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
403 The account does not yet meet the abuse-prevention requirements for Port 25 requests.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
404 The requested VPS was not found or is not accessible.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
409 A Port 25 request for this VPS/IP is already pending review.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
429 Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
500 Unexpected error while submitting the Port 25 request.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
POST https://cloud.hostup.se/api/v2/support/port25-requests
For AI assistants
View as Markdown
cURL
curl -X POST "https://cloud.hostup.se/api/v2/support/port25-requests" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "vpsId": "vps_01hxa3b4c5d6e7f8g9h0j1k2m3",
    "reason": "We send transactional email for example.com from authenticated users with bounce handling and abuse monitoring."
  }'
Response
{
  "id": "p25_01hxa3b4c5d6e7f8g9h0j1k2m3",
  "vpsId": "vps_01hxa3b4c5d6e7f8g9h0j1k2m3",
  "vpsName": "mail.example.com",
  "ipAddress": "203.0.113.10",
  "status": "pending",
  "reason": "We send transactional email for example.com from authenticated users with bounce handling and abuse monitoring.",
  "requestedAt": "2026-06-03T03:25:00.000Z",
  "resolvedAt": null
}
Request Body Request Port 25 unblock
{
  "vpsId": "vps_01hxa3b4c5d6e7f8g9h0j1k2m3",
  "reason": "We send transactional email for example.com from authenticated users with bounce handling and abuse monitoring."
}