Get your free beta license ↗
API operation · certificates group
POST

/panel/certificate

First published 3 Oct 20260.1.0Unchanged since publication

Request a TLS certificate for the UrbeStack web interface

Who may call it
AdministratorResellerCustomer
Token scope, any of
certificatesall
Answers202 Accepted

Queues a cert-issue job to request a certificate for the web interface hostname. Before placing an order with the certificate authority, the job checks whether the hostname resolves to a configured server IP address. The 202 response returns the queued job in job.

As a command

Run as root on the server

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X POST "$API/panel/certificate" \
  -H "Authorization: Bearer $TOKEN"
Response · 202 Accepted
{
  "job": {
    "created_at": "2026-09-09T10:15:00Z",
    "created_by": 1,
    "created_by_name": "text",
    "dismissed_at": "text",
    "finished_at": "2026-09-09T10:15:04Z",
    "id": 1,
    "lane": "short",
    "log": "",
    "params": {},
    "progress": 100,
    "result": {},
    "started_at": "2026-09-09T10:15:01Z",
    "status": "queued",
    "type": "rebuild",
    "usual_seconds": 1
  }
}

Errors

8 errors, each a status and a sentence
400A new job is queued or running
400Invalid <what>:
400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
400Job parameters must be an object
400Unknown job type
400Username '<value>' is reserved
401Authentication required
404User '<user>' not found
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/post-panel-certificate/