Plans
List plans
GET
/plansneedsplans:readEvery plan, newest first. Not paged: a business has a handful.
Needs the plans:read permission.
Query parameters
locationIdstringOnly plans sold at this location
Example:"string"
Response
data: Plan
idstringExample:"pln_8Hq2LmZ0aB3c"
namestringExample:"Daily 5GB"
priceKobointegerPrice, in kobo (50000 is 500 naira)
Example:50000
durationstringHuman-readable length of the plan
Example:"1 day"
dataLimitstringnullableData allowance; null is unlimited
Example:"5GB"
devicesstringnullableDevices signed in at once, a number or "unlimited"
Example:"1"
locationIdstringExample:"loc_3cD4eF5gH6"
activebooleanWhether customers can buy it
Example:true
createdAtstringnullableISO 8601 time, UTC
Example:"2026-10-01T09:30:00.000Z"
GET
/plans1curl "https://ogawifi.online/api/v1/plans" \2 -H "Authorization: Bearer $OGAWIFI_API_KEY"200Successful response
1{2 "data": [3 {4 "id": "pln_8Hq2LmZ0aB3c",5 "name": "Daily 5GB",6 "priceKobo": 50000,7 "duration": "1 day",8 "dataLimit": "5GB",9 "devices": "1",10 "locationId": "loc_3cD4eF5gH6",11 "active": true,12 "createdAt": "2026-10-01T09:30:00.000Z"13 }14 ]15}Was this helpful?