Meters
Create Meter
Acceso
Miembro de la organización con este permiso:
meters:write
Una clave API con scopes también necesita el permiso entre sus scopes.
POST
Creates a new meter with the provided data.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
name*stringLength
1 <= length <= 255type*stringValue in
"ELECTRICITY""WATER""GAS"customFields?provider*unknownOK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//meters' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "type": "ELECTRICITY", "provider": "MANUAL"}'Example Response
nullList Meters GET
Lists meters with pagination, filtering, and sorting. Supports filtering by type, provider, terrain, and search. Can include relations like terrain (with nested occupations and customer), lastReading, alarms, and metadata. Use 'customer' or 'occupation' in include to fetch nested data through terrain.
Get Meter GET
Gets a meter by its ID. Supports virtual fields: customer, occupation (same as list endpoint). Use include parameter to include relations like terrain, lastReading.