GET
/
subscriptions
curl --request GET \
  --url https://api.nomos.energy/subscriptions \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "items": [
    {
      "object": "subscription",
      "id": "sub_a05fl82x36f6endetxm8rrra",
      "number": "28510261",
      "plan": "pln_d9rfz7502xdyklkp9946ttci",
      "customer": "cus_e2dl2weoltplx906rq9ur7or",
      "address": "adr_bhsnhlfe3wds3r9ku5tkrdsw",
      "meter": "mtr_d9rfz7502xdyklkp9946ttci",
      "payment_method": "pm_d9rfz7502xdyklkp9946ttci",
      "status": "pending",
      "created_at": "2024-01-01T00:00:00Z",
      "start_at": null,
      "terminated_at": null,
      "end_at": null
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json
Successful response
object
string

Type of object is always list.

Example:

"list"

items
object[]