API

Connect Powoflow to your own systems

A REST API with JSON, and API keys an administrator creates for the workspace. Read-only on Free, read and write on Starter and above.

What you can do

Version 1 of the API, under /v1. Every endpoint is listed below.

01

Assets and sites

List your assets and sites, and read one asset in full.

02

Sensor readings

Read a sensor's latest value, or its readings over a time range.

03

Alarms

Read active alarms, a summary, one alarm, or an asset's alarms.

04

Work orders

List and read work orders, create them from another system, and add comments.

API keys

01

Made by an administrator

Create and revoke keys in Settings. A key is shown once and stored only as a hash.

02

Scoped to your workspace

A key reaches your workspace's data and nothing else.

03

Read-only or read and write

Read-only on Free. Read and write on Starter and above.

04

Every key is accounted for

Creating or revoking a key is recorded in the activity log.

Endpoints

Twelve endpoints. An API key reaches these and nothing else.

GET/v1/resourcesList your assets and sites
GET/v1/resources/{resourceId}Read one asset in full
GET/v1/resources/{resourceId}/telemetryA sensor's readings over a time range
GET/v1/resources/{resourceId}/telemetry/latestA sensor's latest reading
GET/v1/resources/{resourceId}/alarmsOne asset's alarms
GET/v1/alarms/activeActive alarms
GET/v1/alarms/summaryA summary of your alarms
GET/v1/alarms/{alarmId}Read one alarm
GET/v1/work-ordersList work orders
GET/v1/work-orders/{woId}Read one work order
POST/v1/work-ordersCreate a work order (read and write keys)
POST/v1/work-orders/{woId}/commentsComment on a work order (read and write keys)

Tell us what you want to connect