Plans
Base URL https://api.leadx.in/api/key/protected. Every request needs an apikey header — see Authentication.
2 endpoints.
GET /plans
Get all plan.
Auth apikey
:::note Used by the web app
pages/Billing.jsx, pages/Plans.jsx
:::
Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.
Response — data is one Subscription object. (Resource deduced from the collections this handler reads, not read off an explicit return.)
GET /plans/:id
Get plan.
Auth apikey
:::note Used by the web app
pages/SeatManagement.jsx
:::
Path parameters
| Name | |
|---|---|
id | Required |
Response — data is one Currency object.
Errors PlanNotFound_400