Skip to main content
GET
/
organizations
/
{orgId}
/
dataexplorer
/
commitments
/
accounts
Get account values for querying commitments.
curl --request GET \
  --url https://api.m3ter.com/organizations/{orgId}/dataexplorer/commitments/accounts \
  --header 'Authorization: Bearer <token>'
{
  "accountCodes": [
    "<string>"
  ],
  "accounts": [
    {
      "code": "<string>",
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.

The authorizationCode flow controls access for human users via the m3ter Console application.

Path Parameters

orgId
string
required

UUID of the organization.

Query Parameters

limit
integer<int32>

Limit the number of items returned.

Required range: 1 <= x <= 10000

Response

Returns a list of accounts.

Response containing accounts used for filtering bill queries.

accountCodes
string[]

A list of account codes.

accounts
object[]

A list of accounts.