POST
https://api.cmswebservice.in/api/shipment/verify-otp
API Endpoint: Verify OTP
This endpoint verifies the One-Time Password (OTP) that was sent earlier during the shipment process.
A successful verification will return a transaction ID that confirms the OTP validation.
Request
- Method: POST
- URL: https://api.cmswebservice.in/api/shipment/verify-otp
- Content-Type: application/json
Request Body Parameters
| Key |
Type |
Description |
| AccountCode | string | Unique account code of the shipper. |
| ShipperName | string | Name of the shipper. |
| ConsigneeName | string | Name of the consignee. |
| ConsigneeCountry | string | ISO code of consignee country. |
| KYCType | string | Type of KYC document (e.g., Aadhaar Number, PAN Number). |
| KYCNo | string | KYC document number. |
| ShipperPhoneNumber | string | Phone number of the shipper where OTP was sent. |
| GoodsType | string | Type of goods being shipped. |
| ImageBase64String | string | Base64 encoded image of the shipper (optional). |
| KYCImageBase64String | string | Base64 encoded KYC document image (optional). |
| OTP | string | The OTP received on the registered phone number. |
Response
- Status Code: 200 (on success or validation failure)
- Content-Type: application/json
Success Response
{
"Status": true,
"Error": null,
"Data": {
"Message": "\"Transaction ID:66614568.\""
},
"Timestamp": "2025-09-07T08:57:31.1730172Z",
"RequestId": "50ad465c-57d2-4d28-a592-d0ab4e1d2a38"
}
Failed Response
{
"Status": false,
"Error": {
"Code": "400",
"Message": "OTP send failed",
"Details": [
"\"Please enter Valid OTP to proceed further\""
]
},
"Data": null,
"Timestamp": "2025-09-07T09:01:45.7054837Z",
"RequestId": "da31758d-72bf-43e5-93a2-4e21be6eea01"
}