Get all provinces
Retrieve a paginated list of all 25 provinces in Cambodia. Each province includes its UUID, localized name, type, and postal code prefix/range. Use the lang query parameter to switch between English (en) and Khmer (km).
Authorization
ApiKeyAuth x-api-key<token>
API key passed in the x-api-key header. Obtain a key from the developer dashboard. Example: x-api-key: YOUR_API_KEY
In: header
Query Parameters
lang?string
Language for the response (en or km)
Default
"en"Value in
- "en"
- "km"
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/provinces?lang=en"{ "statusCode": 200, "data": { "items": [ { "id": "3842cac4-b9a0-8223-0dcc-509a6f75849b", "name": "Banteay Meanchey Province", "slug": "banteay-meanchey-provine", "type": "Province", "prefix": "01", "postalCodePrefix": "01" }, { "id": "8d721ec8-4c9d-632f-6f06-7f89cc14862c", "name": "Battambang Province", "slug": "battambang-provine", "type": "Province", "prefix": "02", "postalCodePrefix": "02" } ] }, "metadata": { "correlationId": "01a0642a-d55f-70f8-b40f-2ce1c5c12035" }}