Get an account

Get a single account/meter

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Retrieve a single account (meter) by its ID.

Endpoint

GET /2.0/accounts/:id

Path Parameters

ParameterTypeRequiredDescription
idstringYesThe account's unique identifier (ObjectId)

Response

Returns a single account object with all available fields. See the Account object reference for the full list of fields.

{
  "_id": "507f1f77bcf86cd799439011",
  "name": "Main Electricity Meter",
  "group": "Building A",
  "siteCode": "HQ-001",
  "type": "electricity",
  "supplierRef": "SUP-12345",
  "meterPointNumber": "1234567890123",
  "meterSerialNumber": "E12345678",
  "meterPointNumber2": "",
  "meterUnits": "kwh",
  "automaticMeterRead": true,
  "status": "active",
  "capacity": "100",
  "meterOperator": "National Grid",
  "meterLocation": "Basement",
  "meterAreaServed": "Whole building",
  "isVirtual": false,
  "meterUser": "landlord",
  "consumptionPriority": ["hh", "reading", "invoice"],
  "assetId": "507f1f77bcf86cd799439012",
  "entityId": "507f1f77bcf86cd799439013",
  "companyId": "507f1f77bcf86cd799439014",
  "tags": ["main-meter"],
  "createdAt": "2024-01-15T09:30:00.000Z",
  "updatedAt": "2024-06-20T14:15:00.000Z"
}

Example Request

curl -X GET "https://api.etainabl.com/2.0/accounts/507f1f77bcf86cd799439011" \
  -H "x-api-key: YOUR_API_KEY"

Scope Required

read:accounts

Path Params
string
required

Account ID

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json