Skip to content
VPS, Dedicated Servers and Colocation across ServerBike service locations

Developer reference

API reference

Conventions, the full endpoint table, status values and error codes.

Public API 1.1.128 routes
Documentation menu
Official API documentation · version 1.1.1View raw API_REFERENCE.md

ServerBike Reseller Public API — reference

Contract 1.1.1 (Bridge 0.1.8 maintenance). Base URL https://bridge.serverbike.com. Machine-readable contract: openapi.yaml (OpenAPI 3.1). Signing: AUTHENTICATION.md.

28 routes: 17 GET, 11 POST. Every route requires the four signing headers and a registered source address.

Conventions

TopicRule
SuccessHTTP 200, body {"data": {...}}, Content-Type: application/json, Cache-Control: no-store, no Content-Encoding.
Errors{"error": {"code", "message", "details"}} and an X-Request-Id header. Business errors carry details.operation_uuid.
IdentifiersPath identifiers are canonical lowercase UUIDs. Business operation_uuid values are random UUID v4 that you generate and store.
Money{"amount": "4.99", "currency": "USD"} — decimal strings with two places, never floats.
TimeRFC 3339 UTC with seconds, e.g. 2026-11-24T10:00:00Z.
ReadsGET with an empty body and only the documented query parameters; anything else is 400 INVALID_REQUEST.
BodiesExact JSON objects with the listed members (no extra or duplicate members). Idempotency-Key is not used.
OwnershipAnother reseller's (or an unknown) service or operation is 404 NOT_FOUND; GET /operations/{o} answers 200 not_found.
CapabilitiesRuntime actions need the product capability (vps.start, vps.stop, vps.restart, vps.poweroff, vps.reinstall, vps.changepassword, vps.console) at the moment of the request.
Rate familiesPer minute in Production: read 60, polling 60, mutation 10, auth_probe 10; plus per-source-address 60, per-credential 60, per-reseller 60 and 10 authentication failures. 429 carries Retry-After.

Routes

MethodPathFamilySincePurpose
GET/api/v1/auth/verifyauth_probe1.0Prove credential, signature and source address.
GET/api/v1/catalogread1.0Products, terms, wholesale prices (limit ≤ 10, cursor).
GET/api/v1/account/commercialread1.0Eligibility and credit balance.
POST/api/v1/purchasesmutation1.0Buy one VPS (one debit).
POST/api/v1/renewalsmutation1.0Renew one service (one debit).
POST/api/v1/commercial-suspensionsmutation1.0Commercial suspension.
POST/api/v1/commercial-unsuspensionsmutation1.0Release a suspension.
POST/api/v1/commercial-terminationsmutation1.0Terminate (provider cleanup follows).
POST/api/v1/commercial-changesmutation1.0Deferred plan change (upgrade).
GET/api/v1/operations/{operation_uuid}polling1.0Durable outcome of a business operation.
GET/api/v1/operations/{operation_uuid}/settlementread1.1.0Recorded amounts, currency, paid-through, escrow.
GET/api/v1/servicesread1.0Your services (limit ≤ 100, cursor).
GET/api/v1/services/{service_uuid}read1.0One service.
GET/api/v1/services/{service_uuid}/commercialread1.1.0Paid-through, renewal authority, capabilities, upgrade targets.
GET/api/v1/services/{service_uuid}/operational-statusread1.0Live power status.
GET/api/v1/services/{service_uuid}/runtime-stateread1.0Progress, power, CPU, memory, disk, traffic.
GET/api/v1/services/{service_uuid}/activityread1.0Latest 30 events.
GET/api/v1/services/{service_uuid}/accessread1.0Legacy delivery projection.
GET/api/v1/services/{service_uuid}/guest-accessread1.1.0Image-aware login (SSH/RDP), credential state and recovery.
POST/api/v1/services/{service_uuid}/access/initial-credentialmutation1.0One-time initial password reveal.
POST/api/v1/services/{service_uuid}/console-sessionsmutation1.0One-use console ticket.
POST/api/v1/services/{service_uuid}/power/{action}mutation1.0start, stop, restart, poweroff.
GET/api/v1/services/{service_uuid}/power/operations/{operation_uuid}read1.0Observe a power operation.
POST/api/v1/services/{service_uuid}/reinstallmutation1.0Reinstall an image with a new password.
GET/api/v1/services/{service_uuid}/reinstall/operations/{operation_uuid}read1.0Observe a reinstall.
POST/api/v1/services/{service_uuid}/passwordmutation1.0Change the guest password.
GET/api/v1/services/{service_uuid}/password/operations/{operation_uuid}read1.0Observe a password change.
GET/api/v1/services/{service_uuid}/plan-changes/{operation_uuid}polling1.1.0Plan change phase and customer activation readiness.

All GET routes are observational: they never send a provider command. Restarts, provider-requested power cycles and settlements are continued by the platform's own worker, so your client does not need to keep polling for an operation to finish (polling only tells you when it has).

Status vocabularies

WhereValuesTerminal successTerminal failure
Business lookup statusnot_found, pending, committed, rejectedcommittedrejected (with rejection_code)
Power / reinstall statuspending, new, in_flight, command_acknowledged, unknown, unknown_sent_outcome, complete, failed_definitely_not_sent, failed_provider_rejected, reconciliation_requiredcompletefailed_definitely_not_sent, failed_provider_rejected
Password statuspending, changing, applying, complete, power_cycle_required, failed_provider_rejected, failed_definitely_not_sent, reconciliation_requiredcompletefailed_*; power_cycle_required is a final instruction to the customer
Plan change phasesee LIFECYCLE_AND_RECONCILIATION.mdcompletedreleased, rejected

reconciliation_required is not a failure: the platform keeps settling it from provider evidence. Escalate to ServerBike support when it persists for more than an hour.

Errors

HTTPcodeMeaningWhat to do
400INVALID_REQUESTMalformed identifier, query, body, media type or size.Fix the request.
401AUTHENTICATION_FAILEDSignature, timestamp, nonce replay, credential or source address refused.Check clock, signing and registered addresses; re-sign.
404NOT_FOUNDUnknown, foreign, or not offered.Check the identifier and ownership.
405METHOD_NOT_ALLOWEDWrong method for the path.—
409SERVICE_SUSPENDEDThe service is commercially held.—
409BUSINESS_CONFLICTAnother operation is open, wrong state, or refused by policy.Look up the open operation; do not loop.
409IDEMPOTENCY_CONFLICTThe operation_uuid was used for a different intent.Use the original body, or a new UUID for a new intent.
422PRODUCT_UNAVAILABLE, RESELLER_INELIGIBLE, INSUFFICIENT_CREDIT, NOT_FOUNDDefinite business refusal; nothing was charged.—
429RATE_LIMITEDToo many requests.Wait Retry-After, re-sign.
500INTERNAL_ERRORUnexpected. After a POST the outcome is unknown.Look the operation up.
503UPSTREAM_UNAVAILABLEA dependency cannot answer. On a business POST it is proven not sent.Retry the same intent later.
503OUTCOME_UNKNOWNThe business call may have committed.Poll the original operation_uuid.

Anything that is not this JSON envelope (an HTML page, a CDN or proxy error, a challenge page, a timeout) is a transport result, not a Bridge answer — see RETRY_AND_ERRORS.md.