# Retrieve Meter

<Note>
**Enabled per organization**

Usage-based billing must be enabled for your organization before these endpoints accept requests. Contact your WHITELABEL account manager to enable it. Requests from an organization where it is not enabled return `403 PRODUCT_NOT_ENABLED`.
</Note>

Refer to [Meter Error Codes](/reference/meters/meter-error-codes) for the possible error outcomes.

**GET** `/subscriptions/meters/{meter_id}`

Base URL: `https://api-sandbox.whitelabel.com/v1`

Usage-based billing must be enabled for your organization before this endpoint accepts requests (otherwise `403 PRODUCT_NOT_ENABLED`). Retrieves a meter by its `id`.

## Authorization

- public-api-key (apiKey in header)
- private-secret-key (apiKey in header)

## Header parameters

- `X-Account-Code` (string, required)
  The `account_id` found in your [WHITELABEL Dashboard](https://dashboard.whitelabel.com/developers) (UUID). Required — omitting it returns `400 BAD_REQUEST` ("Invalid x-account-code header.").

## Path parameters

- `meter_id` (string, required)
  The unique identifier of the meter.

## Responses

### 200

200

- `id` (string)
  The unique identifier of the meter.
- `account_id` (string)
  The unique identifier of the account that owns the meter.
- `name` (string)
- `description` (string)
- `event_name` (string)
- `aggregation` ("SUM" | "COUNT" | "LAST")
- `unit_label` (string)
- `plural_unit_label` (string)
- `default_price` (object)
  - `currency` (string)
  - `value` (number)
- `metadata` (object[])
  - `key` (string)
  - `value` (string)
- `status` ("ACTIVE" | "INACTIVE")
- `created_at` (string)
  Set by WHITELABEL on creation.
- `updated_at` (string)
  Set by WHITELABEL on every update.

Example:

```json
{
  "id": "string",
  "account_id": "string",
  "name": "string",
  "description": "string",
  "event_name": "string",
  "aggregation": "SUM",
  "unit_label": "string",
  "plural_unit_label": "string",
  "default_price": {
    "currency": "string",
    "value": 0
  },
  "metadata": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "status": "ACTIVE",
  "created_at": "string",
  "updated_at": "string"
}
```

### 400

400

- `code` (string)
- `messages` (string[])

Example:

```json
{
  "code": "string",
  "messages": [
    "string"
  ]
}
```

### 403

403

- `code` (string)
- `messages` (string[])

Example:

```json
{
  "code": "PRODUCT_NOT_ENABLED",
  "messages": [
    "string"
  ]
}
```