Create meters

Create meters on the Leap platform individually or in bulk. Endpoint accepts both CSV and JSON input. Returns job ID.

Query Params
boolean
Defaults to false

If set to true, the API will update existing meters with the same partner reference. If set to false or parameter is omitted, the API will create new meters and return a duplicate error for existing meters with the same partner reference.

string
length ≤ 255

If set, the API will use this file_name when uploading the file to the API. If not set, the API will use the job_id and file_extension to create a file_name as fallback. The file_name must be a valid string up to 255 characters matching the file naming pattern.

Body Params

Meter batch job request body

assets
array of objects
required
assets*
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/csv