Hangar API

A REST API to manage your servers, applications, databases, and deployments — the same platform the dashboard drives, available to your scripts and CI.

The base URL for all requests is:

https://hangar.nagara.cloud/api/v1

Quick start

Create a personal access token in your account settings, then:

curl https://hangar.nagara.cloud/api/v1/user \
  -H "Authorization: Bearer hgp_your_token"

Or use the CLI:

hangar login --token hgp_your_token
hangar app:list

Conventions

A single resource is returned wrapped in a data key. A collection adds meta and links for pagination. Errors use a consistent error envelope. Timestamps are RFC 3339 / ISO 8601 in UTC.

Versioning

This is v1. Breaking changes ship under a new version prefix; additive changes (new fields, new endpoints) may appear within v1, so clients should ignore unknown fields.