GET https://api.cmswebservice.in/api/service/country-list

API Endpoint: Get Country List

This endpoint retrieves the list of supported countries for shipments. Each country entry includes the CountryCode and the CountryName. It requires a valid Bearer Token for authorization.

Request

  • Method: GET
  • URL: https://api.cmswebservice.in/api/service/country-list
  • Headers: Authorization: Bearer <token>

Response

  • Status Code: 200
  • Content-Type: application/json

Response Body

The response will contain the following fields:

Key Type Description
StatusbooleanIndicates success or failure.
DataarrayList of available countries.
CountryCodestringISO 2-letter country code.
CountryNamestringFull name of the country.