GET /api/v1/internet-plans/
Lists all internet plans configured in the WispHub system. This endpoint returns plans of different types including PPPOE, Simple Queue, and PCQ.This query is cached internally to improve performance and avoid redundant continuous calls to the external API.
Authentication
No authentication required for this endpoint.Response Body
The response follows the standardBackendResponse wrapper format:
Indicates if the request was successful
Response type:
success, error, or infoAction identifier for this operation:
internet_plans_listed- Plans were successfully retrievedinternet_plan_not_found- No plans found in the system
Array of internet plan objects.
null when no plans are found.Optional message with additional information
Optional metadata object
Example Request
Example Response
Plan Types
The WispHub system supports three types of internet plans:PPPOE Plans
PPPOE Plans
Point-to-Point Protocol over Ethernet plans. These plans support full detail retrieval including speeds and pricing information.
Simple Queue Plans
Simple Queue Plans
MikroTik Simple Queue based plans. These plans support full detail retrieval including speeds and pricing information.
PCQ Plans
PCQ Plans
Per Connection Queue plans. Note that WispHub does not expose a detail endpoint for this plan type, so only basic information is available.
Response Actions
Returned when plans are successfully retrieved from the system
Returned when no plans exist in the system
Implementation Notes
The endpoint uses internal caching to improve performance. The plan list is cached to avoid making redundant calls to the WispHub external API. This means the data may be slightly delayed but provides significantly better performance for frequently accessed data.
