New in phaf 26.11.1: Windows installer, CSV, Email and REST connectors. Release notes → A Spectro Web Solutions product ↗ EN PL

App integration · Flow API

Control phaf from your own systems.

Expose a flow as an HTTP API and call it from your own systems — so your applications can use phaf as an integration engine.

POST /api/flow/orders-in
Authorization: Bearer ••••••
Content-Type: application/json

{ "orderNumber": "PO-4711" }

→ 200 OK  { "status": "created", "erpId": "SO-1042" }

What the Flow API gives you

01

Call a flow

Post a payload to a flow published as an API and get its result in the same response.

02

One address per flow

Each Flow API has its own address, /api/flow/<name>.

03

Admin API

Manage connectors, workspaces and settings programmatically.

04

Tokens

Authenticate with API tokens or OAuth 2.0 client credentials, tied to a user and role.

05

IP rules

Allowed and blocked IP lists apply to the Flow API.

06

Recorded

Each call runs the flow like any other message, with its status and log.

How it works

Three steps.

01

Create a token

In settings, for a user with the right role.

02

Call the flow

Post the payload to /api/flow/<name>.

03

Use the result

The response carries the output of the flow.

See it running with your own data.

Bring a real file, message or API. We build the flow with you in the demo.

Book a demo