Get all plansGET/api/planAuthorizationAuthorizationBearer token (JWT) · headerrequiredResponses200OKany500Internal Server ErroranyTry itServerBase URLhttp://localhost:8000Custom base URLOverrides the selected server when set.AuthorizationBearer token (JWT)Remember on this deviceInclude my values in samplesSendRequestcURLJavaScriptCopyCopiedcurl -X GET "http://localhost:8000/api/plan" \ -H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("http://localhost:8000/api/plan", { method: "GET", headers: { "Authorization": "Bearer YOUR_TOKEN" } });Response200500{ "data": [ { "id": "PLm3Xk8q2W", "createdAt": "2026-03-26T14:18:06.446Z", "updatedAt": "2026-03-26T14:18:06.446Z", "name": "Enterprise", "minimumSeat": 3, "maximumSeat": 20 } ] }{ "message": "Something went wrong", "error": "Internal Server Error", "statusCode": 500 }