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 |
| Status | boolean | Indicates success or failure. |
| Data | array | List of available countries. |
| CountryCode | string | ISO 2-letter country code. |
| CountryName | string | Full name of the country. |