Get Plan ID

API Endpoint

To get plan details, the API request is made to this endpoint:

Sample Request

curl -X GET \
  https://kpi.knowlarity.com/Basic/v1/account/plans \
  -H 'accept: application/json' \
  -H 'authorization: <authorization-key>' \
  -H 'x-api-key: <x-api-key>'

Sample Response

[
    {
        "userplan_id": <Plan Id>,
        "plan_name": "Enterprise SIVR",
        "is_active": "false",
        "created_date": "2022-03-17 06:05:08+00:00",
        "expiry_time": "2032-03-13 18:30:00+00:00",
        "plan_type": "E"
    }
]