1. Locations
Flype Order API Gulf
  • UAE API Integration Guide
    • Shipments
      • Shipments Count
      • All Shipments
      • Bulk Order
      • Schedule Pickup
      • Shipment Details
      • Shipment Last Status
      • Cancel Shipment
      • Get AirwayBill
    • Locations
      • Get Cities
        GET
      • Get All Countries
        GET
    • Webhook
      • Shipment Status Updates Webhook
    • Schemas
      • Error
      • ServiceType
      • TrackingStatusName
      • PickupLocation
      • RecipientAddress
  1. Locations

Get All Countries

GET
/api/country/list

Get All Countries - Get supported countries#

Use this endpoint to retrieve the list of countries supported, including each country’s unique ID.
The country ID returned by this endpoint is required when calling the Get Cities endpoint to retrieve cities for a specific country.

When to use this endpoint#

  • To get the list of countries covered by iCarry.
  • To retrieve the country ID needed for city lookup.
  • To populate country selection lists in your system or checkout flow.

Important notes#

  • Only countries supported by Flype are returned.
  • Use the returned id value as the countryId when calling the Get Cities endpoint.

Summary#

Use Get All Countries to retrieve supported countries and their IDs before requesting cities for a selected country.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or

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 --request GET '/api/country/list' \
--header 'Authorization: Bearer <token>'

Responses

🟢200
application/json
Successful response
Body

Example
{
    "status": "success",
    "data": [
        {
            "id": 231,
            "name": "United Arab Emirates"
        },
        {
            "id": 2,
            "name": "Saudi Arabia"
        },
        {
            "id": 3,
            "name": "Kuwait"
        }
    ]
}
🟠401
Previous
Get Cities
Next
Shipment Status Updates Webhook
Built with