List open orders

GET /api/v2/me/open-orders

Return the caller's recent orders that are still being set up: every order from the last 14 days with at least one line that is not active yet, newest first, at most 5.

This is the source of the dashboard's order-progress card.

Orders older than 14 days, cancelled orders, and renewal or upgrade orders (nothing new is being provisioned) are left out.

Returns a bounded snapshot as { openOrders }, not a paginated data list.

Each order carries its invoice, if any, and one line per ordered item with the item's live state and the public ID of the resource it created, so a client can match lines against GET /api/v2/domains, GET /api/v2/shared-hosting and GET /api/v2/vps.

For the single pending order that can be activated with BankID use GET /api/v2/me/pending-orders; for the full order use GET /api/v2/orders/{id}.

Account & Access Account

Authentication

Required API scope: read:orders

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

Context

Headers

Authorization Bearer <token>
Accept application/json

Responses

200 Open-order snapshot.
openOrders array<object> required
openOrders[].id string required · Example: ord_01hxa3b4c5d6e7f8g9h0j1k2m3
openOrders[].number string · nullable required · Example: 1117145835

Nullable: may be null when not applicable.

openOrders[].createdAt string · nullable required · Example: 2026-09-15T10:12:00.000Z

Nullable: may be null when not applicable.

openOrders[].invoice object · nullable required

Nullable: may be null when not applicable.

openOrders[].lines array<object> required
openOrders[].lines[].key string required · Example: example.com

Stable within the order: the normalized domain, or <kind>:<line number> for non-domain items.

openOrders[].lines[].kind string · enum required · Example: transfer
transfer
register
hosting
vps
addon
other
openOrders[].lines[].label string required · Example: Example Label

The domain, hostname or product name as the customer sees it.

openOrders[].lines[].status string · enum required · Example: pending
pending
active
failed
closed
openOrders[].lines[].resource object · nullable required

Nullable: may be null when not applicable.

openOrders[].lines[].attention string · nullable · enum · Example: null

Nullable: may be null when not applicable.

registration_failed
transfer_failed
400 Invalid request. The response body is an RFC 7807 Problem Details document.
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 Unauthorized. 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 Forbidden. The caller lacks a required scope or does not own the resource.
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 Not found. The resource does not exist or is not owned by the caller.
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 Internal error. Retry later or contact support if the issue persists.
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
GET https://cloud.hostup.se/api/v2/me/open-orders
For AI assistants
View as Markdown
cURL
curl -X GET "https://cloud.hostup.se/api/v2/me/open-orders" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"
Response
{
  "openOrders": [
    {
      "id": "ord_01hxa3b4c5d6e7f8g9h0j1k2m3",
      "number": "1117145835",
      "createdAt": "2026-09-15T10:12:00.000Z",
      "invoice": {
        "id": "inv_01hxa3b4c5d6e7f8g9h0j1k2m3",
        "number": "202689534",
        "status": "paid",
        "total": 588,
        "currencyCode": "SEK",
        "dueAt": "2026-09-22T00:00:00.000Z"
      },
      "lines": [
        {
          "key": "example.com",
          "kind": "transfer",
          "label": "Example Label",
          "status": "pending",
          "resource": {
            "type": "domain",
            "id": "dom_01hxa3b4c5d6e7f8g9h0j1k2m3"
          },
          "attention": null
        },
        {
          "key": "hosting:2",
          "kind": "hosting",
          "label": "Example Label",
          "status": "active",
          "resource": {
            "type": "account",
            "id": "acct_01hxa3b4c5d6e7f8g9h0j1k2m3"
          },
          "attention": null
        }
      ]
    }
  ]
}