Skip to content

REST API

The Sympheny REST API gives you programmatic access to everything you can do in the Sympheny web app: create projects and analyses, model energy hubs, demands, supply technologies and networks, run optimizations, and integrate Sympheny into your own tools and workflows.

If you work in Python, the Python SDK wraps this API with typed methods and automatic authentication. Prefer it over calling the API directly.

Base URL

All requests go to a single host:

https://eu-north-1-api.sympheny.com

The path prefix selects the API area:

Prefix Area What it covers
/sympheny-app Web app Projects, analyses, scenarios, hubs, energy carriers, demands, technologies, networks.
/backoffice Account Access tokens and your user profile.
/sense-api Solver Submitting solver jobs, tracking their progress, and your job quota.

Authentication

Every endpoint except the token endpoint requires a Bearer token in the Authorization header. See Authentication for the login flow.

Versioning

Some web app endpoints carry a version segment in the path (v2, v2_1, v2_2). The reference documents the current version of each operation. Use the paths exactly as shown there.

Responses and errors

Web app (/sympheny-app) endpoints wrap every response in an envelope:

{
  "data": { ... },
  "status": { "code": "...", "desc": "...", "message": "..." }
}

The payload is in data; status carries a machine-readable code and a human-readable message. Account (/backoffice) and solver (/sense-api) endpoints return the payload directly and report errors as a JSON object with a detail field.

Errors use conventional HTTP status codes: 400 for invalid input, 401 for a missing, invalid, or expired token, 403 when the action isn't permitted for your account, 404 for an unknown resource, 409 for conflicts (for example a duplicate name), and 422 for request validation failures on account and solver endpoints.

Reference

The API reference documents all operations, grouped by resource. Each page lists the operations' parameters, request and response schemas, and example requests.

API Explorer

The API Explorer renders the same specification interactively. Paste a bearer token and send requests straight from your browser.