API reference

Usage and billing

Consumption, plan and platform identity.

View this page as Markdown

Usage by day, category, country or number#

GET/usage

Authentication
API key (Bearer pk_…), or console session (Bearer ses_… with the X-Environment-Id header)
Required scope
usage:read

The Meta cost is an ESTIMATE calculated with the configured price grid; unpricedMessages counts billable messages with no configured price. BrefPoint fees are separate and never added to the Meta cost.

Parameters

NameLocationTypeDescription
fromquerystringStart (inclusive), ISO 8601. Default: start of the current month (UTC)
toquerystringEnd (exclusive), ISO 8601
groupByquerystringGrouping: day (default), category, country or phone_number.Values: day, category, country, phone_number

Example

bash
curl "$INBOX_API/usage" \
  -H "Authorization: Bearer $INBOX_KEY"
Response · 200 OK
{
  "from": "2026-11-01T00:00:00.000Z",
  "to": "2026-12-01T00:00:00.000Z",
  "groupBy": "day",
  "totals": {
    "messages": 0,
    "billableMessages": 0,
    "notBillableMessages": 0,
    "unpricedMessages": 0,
    "metaCostEstimate": {},
    "platformFee": {}
  },
  "buckets": [],
  "metaCostIsEstimate": true
}

Plan, usage for the period and limits (portal)#

GET/billing/overview

Authentication
Portal session (Bearer ses_…)

Example

bash
curl "$INBOX_API/billing/overview" \
  -H "Authorization: Bearer $INBOX_SESSION"
Response · 200 OK
{
  "plan": {
    "id": "654e934f-a17e-4c05-8964-b1febb33b2b5",
    "code": "free",
    "name": "Gratuit",
    "monthlyPriceAmount": null,
    "currency": null,
    "includedMessages": 100,
    "hardMessageLimit": 100,
    "maxConnectedBusinesses": 1,
    "maxNumbersPerBusiness": 1,
    "overageFeePerMessage": 0,
    "logRetentionDays": 3
  },
  "period": {
    "start": "2026-11-01T00:00:00.000Z",
    "end": "2026-12-01T00:00:00.000Z"
  },
  "messages": {
    "used": 0,
    "included": 100,
    "hardLimit": 100
  },
  "connectedBusinesses": {
    "used": 0,
    "max": 1
  }
}

Commercial and legal identity of the platform (public)#

GET/platform

Authentication
None (public)

Example

bash
curl "$INBOX_API/platform"
Response · 200 OK
{
  "brand": {
    "name": "Bref Point Inbox",
    "tagline": "One API. Every conversation.",
    "website": null,
    "supportEmail": null
  },
  "legal": {
    "name": "Labred Industry",
    "address": null,
    "taxId": null
  },
  "notice": "Bref Point Inbox is an independent product, published by Labred Industry. It is neither published nor endorsed by Meta."
}