Skip to Content
Meters

Create Meter

Acesso

Membro da organização com esta permissão:

  • meters:write

Uma chave de API com scopes também precisa da permissão nos seus scopes.

POST
/orgs/{organizationId}/meters

Creates a new meter with the provided data.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
name*string
Length1 <= length <= 255
type*string
Value in"ELECTRICITY""WATER""GAS"
customFields?
provider*unknown

Response Body

OK

application/json
  1. response
Example Request
curl -X POST 'https://api.tillor.eu/orgs//meters' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "type": "ELECTRICITY",  "provider": "MANUAL"}'
Example Response
null