1. Locations
MyCourier Order API
  • Introduction
  • Shipments
    • Check coverage
      POST
    • Place orders
      POST
    • Get shipment details
      GET
    • Get last status
      GET
    • Cancel shipment
      POST
    • Get shipments count
      GET
    • List shipments
      POST
    • Get label
      GET
  • Locations
    • Get countries
      GET
    • Get cities
      GET
  • Webhook
    • Shipment status update
      POST
  • Schemas
    • Error
    • ServiceType
    • TrackingStatus
    • Price
    • CheckCoverageRequest
    • CoverageOption
    • CheckCoverageResponse
    • CoverageError
    • OrderAddress
    • OrderItem
    • Order
    • PlaceBulkRequest
    • AcceptedOrder
    • DeniedOrder
    • PlaceBulkResponse
    • Address
    • Recipient
    • PickupLocation
    • Driver
    • ShipmentSummary
    • ShipmentDetails
    • AllShipmentsRequest
    • ShipmentsCount
    • WebhookEvent
  1. Locations

Get cities

GET
/api/cities/country/{countryId}
The cities of a country, with their province, ordered by name.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://flype-ops-panel-dev.web.app/api/cities/country/248' \
--header 'Authorization: Bearer <token>'

Responses

🟢200
application/json
The cities.
Bodyapplication/json

Example
{
    "status": "success",
    "data": [
        {
            "id": 148667,
            "name": "A Kwis Ki Mahka",
            "province": "MB"
        }
    ]
}
🟠404
🟠401Unauthorized
🟠403Forbidden
Modified at 2026-10-28 04:43:35
Previous
Get countries
Next
Shipment status update
Built with