- Docs
- API reference
- Customer portal API
Customer portal API
Automate PikoStack licenses, downloads, tickets and invoices with the my.pikostack.com customer portal API and scoped API keys.
The customer portal at my.pikostack.com has its own REST API for PikoStack customers. Use it to download license files from automation, track releases or open support tickets from your own tools.
Base URL and keys#
https://my.pikostack.com/api/v1
Create an API key under API keys in the portal and choose its scopes. The key is shown once. Send it as a bearer token:
curl -sS -H "Authorization: Bearer pk_live_..." https://my.pikostack.com/api/v1/me
| Scope | Allows |
|---|---|
licenses:read |
List licenses and download license files |
licenses:write |
Bind and rebind licenses |
downloads:read |
List releases and files |
tickets:read |
List and read tickets |
tickets:write |
Open tickets and reply |
billing:read |
List orders and invoices |
Errors use the same JSON shape as the hosting API: {"error": {"code", "message", "request_id"}}. Requests are rate-limited to 120 per minute per key; over the limit you receive 429 with a Retry-After header.
Endpoints#
| Method | Path | Scope | Purpose |
|---|---|---|---|
| GET | /me |
any | The account the key belongs to |
| GET | /licenses |
licenses:read |
Your licenses |
| GET | /licenses/{id} |
licenses:read |
One license |
| GET | /licenses/{id}/file |
licenses:read |
The license file (license.json) |
| POST | /licenses/{id}/bind |
licenses:write |
Bind to a server: {"fingerprint": "<output of pikod fingerprint>"} |
| GET | /releases |
downloads:read |
Releases with files and SHA-256 checksums |
| GET | /tickets |
tickets:read |
Your tickets |
| GET | /tickets/{id} |
tickets:read |
A ticket with its messages |
| POST | /tickets |
tickets:write |
Open a ticket: department, subject, message, priority |
| POST | /tickets/{id}/replies |
tickets:write |
Reply: {"message": "..."} |
| GET | /invoices |
billing:read |
Your invoices |
Example: refresh a license file on a node#
curl -fsS -H "Authorization: Bearer $PORTAL_KEY" \
https://my.pikostack.com/api/v1/licenses/$LICENSE_ID/file -o /etc/pikostack/license.json
systemctl reload pikod
Something unclear or wrong on this page? Tell us. © 2026 PikoStack.