Overview
The Miget API allows you to programmatically manage your applications, databases, and infrastructure on the Miget platform.Base URL
All API requests should be made to:Authentication
Miget API supports two authentication methods:Option 1: Session Tokens (Basic Auth)
Use your email and password to obtain session tokens via the/auth/sign_in endpoint.
access_token and refresh_token. The access token expires and needs to be refreshed periodically using the /auth/refresh_token endpoint.
Option 2: API Tokens (Recommended)
Generate a permanent API token in the Miget dashboard:- Go to Settings → API Tokens
- Click Add API Token
- Copy the generated token
Authorization header:
API tokens do not expire and don’t require refreshing, making them ideal for CI/CD pipelines and automation.
Workspace Context
All API requests operate on your default workspace (the last workspace you were active in). To target a specific workspace, include theX-Workspace-Id header with the workspace UUID:
Response Format
All responses are returned in JSON format. Successful responses typically include the requested data, while errors include anerror field with a descriptive message.

