Skip to content
Skip to Content

Connect or buy a server

POST
/servers

Not offered yet. Servers are connected and bought in the console for now.

Authorization

bearer
headerAuthorizationBearer <token>

An API key (opk_…) or a CLI token (opc_…).

Response body

No valid credential was sent.

application/problem+json
  1. response
type*string

A link to the error's explanation in the docs.

title*string
status*integer
code*string

Stable machine-readable code: not_found, forbidden, invalid, conflict, rate_limited, not_implemented, …

detail*string

What went wrong, in a sentence written for a person.

Example request
curl -X POST "https://openpanel.sh/api/v1/servers" \  -H "Authorization: Bearer $OPENPANEL_TOKEN"
Example response
{  "type": "string",  "title": "string",  "status": 0,  "code": "string",  "detail": "string"}