Decrypt SMS Message
Decrypt SMS Message for SMSGatewayCenter APIs
Introduction to SMSGatewayCenter APIs
Welcome to SMSGatewayCenter’s API documentation hub! This guide introduces the Decrypt SMS Message API, a key feature in our messaging suite, including SMS API for bulk messaging, WhatsApp Business API for customer engagement, Voice Call API for automated alerts, and Two-Way SMS API for interactive communication. This API supports only POST methods over HTTP, enabling you to decrypt encrypted text messages and retrieve the original content via our API. Ideal for developers in India, secure your sensitive communications with our SMS gateway at unify.smsgatewaycenter.com/signup/!
Use the Decrypt SMS Message API to access the decrypted version of an encrypted text message, allowing you to view the actual content securely. This endpoint is perfect for industries like banking, finance, fintech, and healthcare, offering robust decryption capabilities, compliance with privacy standards, and secure transmission, enhancing your bulk SMS operations with complete data privacy and control.
API Endpoint
https://unify.smsgateway.center/SMSApi/decrypt
Key | Value | Description |
---|---|---|
Login Credentials (Required) | ||
Authenticate your API request using userid-password or apiKey—choose one method. | ||
userid | Your Registered Username | Your registered username; use if apiKey isn’t provided. Signup for User ID |
password | Your Password | URL-encoded password (for special characters); use if apiKey isn’t provided. Signup for API Key |
Header (optional) Parameters | ||
apiKey | Your unique apiKey | apiKey needs to be sent as HTTP header when you are not using userid-password method. You can avail this from your user control panel and use instead of userid-password HTTP Request parameter. Please do not disclose this to anyone. |
Required Parameters | ||
msg | Your text message | This is the message content which you want to send to your clients to get actual encrypted message. |
encryptKey | Your secret token | Your Message Encryption secret key value. This value should be used in header parameter. |
output | plain|json|plain | Value for response format.System default is plain. If you need responses in json or plain then you have to give value as json or plain. |
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://unify.smsgateway.center/SMSApi/decrypt',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => array('userid' => 'YourUsername','password' => 'YourPassword','msg' => 'QzMwMDJDQTA3QzU0RkE1NoI1qhAODY5x3CZqkK0zfFNGVSyPqxYNYijbEVL8Mq+Fm3GSV69UgFif77OkZDCQwObC6ZLKv8IzIYbEqcwqdJFkZZUGRC6TxZTgMTLKTVd0l9ReXj4QfC47srLPiLwbgyX1h0ERIt62LvANKjvCDYAaWBelQEF+7prxA9oxr04oit0yhvS/8nBYiXZl9ORCdYJ3kx66DqJxerlmxVpA73Q=','output' => 'json'),
CURLOPT_HTTPHEADER => array(
'encryptKey: xxxxxxxxxxx',
'Cookie: JSESSIONID=E5767779F596C8EE3029C8B59CC52EB8; SERVERID=webC1; PHPSESSID=1av8gr4qq503j222ggqjfkm4a1; PSML-VLB=smsgate1; SERVERID=webC1; SERVERNAME=s1'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"status": "success",
"msg": "Expired: Your Rental plan for SMPP Center's Software has expired on 20-08-2021. Server will not be renewed & you will lose all your data. SMPP Center",
"transactionId": "5274122124458018037",
"statusCode": "900",
"reason": "success"
}

Unlock Real-Time Messaging – Integrate Today!
Try Our API in a Sandbox Environment Before Going Live!
Join Thousands of Developers – Try Our API Now!
Get in touchSign upTestimonials
Why do Great Businesses Trust SMS Gateway Center?