API

The Flow API allows you to manage resources within the Flow cloud in a simple, programmatic way using conventional HTTP requests. The endpoints are intuitive and powerful, allowing you to easily make calls to retrieve information or to execute actions.

All of the functionality that you are familiar with in the Flow control panel is also available through the API, allowing you to script the complex actions that your situation requires. Our API has predictable resource-oriented URLs, accepts and returns JSON-encoded content and uses standard HTTP response codes.

Documentation

The latest API documentation is available here: https://my.flow.swiss/#/doc/

Authentication

Most of our requests are protected tough a user role management system and therefore require identification of the current user. This authentication system works by requesting an authentication token using username and password and sending the generated token with each request in the X-Auth-Token header.

To generate such a token you have to make the following request:

POST https://api.flow.swiss/v3/auth
{
	"username": "…",
	"password": "…"
}
{
	"token": "…",
	"id": 1,
	"username": "my@flow.swiss"
}

Please find here more details about the authentication endpoints and models: https://my.flow.swiss/#/doc/authentication

Last updated