Skip to main content
GET
/
v1
/
public
/
meters
/
{meter_id}
Get Meter
curl --request GET \
  --url https://api.sanka.com/v1/public/meters/{meter_id} \
  --header 'Authorization: Bearer <token>'
{
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "meter_id": "<string>",
  "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "item_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "usage": 123,
  "usage_status": "<string>",
  "usage_at": "2023-11-07T05:31:56Z",
  "contact_name": "<string>",
  "company_name": "<string>",
  "item_name": "<string>",
  "subscription_name": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string | null

Path Parameters

meter_id
string
required

Query Parameters

external_id
string | null
lang
string | null
language
string | null

Response

OK

created_at
string<date-time>
required
updated_at
string<date-time>
required
id
string<uuid> | null
meter_id
contact_id
string<uuid> | null
company_id
string<uuid> | null
item_id
string<uuid> | null
subscription_id
string<uuid> | null
usage
number | null
usage_status
string | null
usage_at
string<date-time> | null
contact_name
string | null
company_name
string | null
item_name
string | null
subscription_name
string | null