Skip to main content
POST
Create a meter

Authorizations

Authorization
string
header
required

Organization API key with an sk_live_ or sk_test_ prefix

Body

application/json
name
string
required
Maximum string length: 255
description
string
Maximum string length: 1000
meter_type
enum<string>
default:numeric
Available options:
numeric,
boolean
unit
enum<string>
Available options:
hours,
miles,
kilometers,
cycles,
gallons,
liters,
psi,
bar,
fahrenheit,
celsius,
rpm,
volts,
amps,
percent,
count,
custom
custom_unit
string
Maximum string length: 50
category
enum<string>
default:manual
Available options:
manual,
automated
asset_id
string

Required if location_id is not provided

location_id
string

Required if asset_id is not provided

min_value
number
max_value
number
rollover_value
number

Response

Meter created

data
object
required
meta
object
required