Endpoints
- Test API
- Group API
- Package API
- Country API
- Customer API
- Invoice API
- VPN API
Country API
List County by Country API
GET
/
county
/
lists-by-country
Copy
curl --request GET \
--url https://demo.onlinebillingform.com/api/v1/county/lists-by-country \
--header 'token: <token>'
Copy
{
"success": true,
"counties": [
{
"id": 122,
"country_id": 5,
"name": "Andorra la Vella",
"code": "ALV"
},
{
"id": 123,
"country_id": 5,
"name": "Canillo",
"code": "CAN"
},
{
"id": 124,
"country_id": 5,
"name": "Encamp",
"code": "ENC"
},
{
"id": 125,
"country_id": 5,
"name": "Escaldes-Engordany",
"code": "ESE"
},
{
"id": 126,
"country_id": 5,
"name": "La Massana",
"code": "LMA"
},
{
"id": 127,
"country_id": 5,
"name": "Ordino",
"code": "ORD"
},
{
"id": 128,
"country_id": 5,
"name": "Sant Julia de Loria",
"code": "SJL"
}
]
}
Headers
Examples:
"sk_XpgMmyMBc50C4sHZkzS3"
Query Parameters
Examples:
5
Response
default - application/json
The response is of type object
.
Copy
curl --request GET \
--url https://demo.onlinebillingform.com/api/v1/county/lists-by-country \
--header 'token: <token>'
Copy
{
"success": true,
"counties": [
{
"id": 122,
"country_id": 5,
"name": "Andorra la Vella",
"code": "ALV"
},
{
"id": 123,
"country_id": 5,
"name": "Canillo",
"code": "CAN"
},
{
"id": 124,
"country_id": 5,
"name": "Encamp",
"code": "ENC"
},
{
"id": 125,
"country_id": 5,
"name": "Escaldes-Engordany",
"code": "ESE"
},
{
"id": 126,
"country_id": 5,
"name": "La Massana",
"code": "LMA"
},
{
"id": 127,
"country_id": 5,
"name": "Ordino",
"code": "ORD"
},
{
"id": 128,
"country_id": 5,
"name": "Sant Julia de Loria",
"code": "SJL"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.