List Subscriptions

You can fetch a list of all subscriptions.

 

Request Path Parameters
Parameter Type Required Description
org_id number Yes The unique identifier of your organization

Example Request & Response


$ curl https://api.custerem.com/<org_id>/subscriptions/ \
-X GET \
-H 'Authorization: X-API-KEY <Your API Key>' \
-H 'Content-Type: application/json' \


 

200 OK

{
    "subscriptions": [
        {
            "id": 6,
            "started_at": null,
            "canceled_at": "2022-04-09T09:09:09Z",
            "plan": 5,
            "company": 40,
            "quantity": 2
        },
        {
            "id": 1,
            "started_at": "2022-04-09T09:20:00Z",
            "canceled_at": null,
            "plan": 4,
            "company": 38,
            "quantity": 2
        }
    ]
}