API overview

The versioned DASTER API under /v1, its responses and the separate data APIs.

Last updated

Everything the Dashboard does goes through the versioned DASTER API under /v1. The API answers at https://app.daster.io, the same address as the Dashboard. Paths on these pages are relative to it.

Two kinds of API

APIPathUsed byAuthenticated with
Management API/v1/…The Dashboard and your toolsYour DASTER account session
Data APIs/backend/v1/projects/{projectId}/… and /communications/v1/projects/{projectId}/…Your appProject keys and your app's user tokens

Never send your DASTER session to a data API, and never send a project key to the management API. See Authentication. The SDK is a typed client for the data APIs.

Requests

  • Bodies are JSON.
  • Most project routes take the organization as a query parameter: ?organizationId=….
  • Collections return 20 items by default and at most 100, with a stable cursor for the next page.

Responses

A successful read answers 200; a successful change answers 202. The body is an envelope:

JSON
{
  "data": { "projectId": "…", "environmentId": "…" },
  "requestId": "…",
  "correlationId": "…"
}

Keep the requestId when you contact support. Errors are described in Errors.

Main route groups

GroupBase
Account/v1/account
Organizations and team/v1/organizations
Projects and keys/v1/projects, /v1/projects/{projectId}/keys
Hosting/v1/projects/{projectId}/compute
Backend Cloud and PostgreSQL/v1/projects/{projectId}/backend
Document Database and SQL Database/v1/projects/{projectId}/databases
WordPress/v1/projects/{projectId}/wordpress
Domains/v1/projects/{projectId}/domains
App email, Marketing and Push/v1/projects/{projectId}/communications
Billing/v1/organizations/{organizationId}/billing
Price list (public)/v1/pricing

A product that is not offered yet answers 503 service_not_available_in_region with details.service, and nothing is created or charged.

Get started