{"info":{"_postman_id":"c46b21d5-b25d-4946-9d8a-a6dac5298296","name":"Sendpk.com","description":"<html><head></head><body><p>This documentation will provide instructions on how to quickly integrate Sendpk.Com messaging services into various solutions.</p>\n<p><strong>Services:</strong></p>\n<p>Based on standard communication channels, we have developed a set of feature rich services, to help with your business needs:</p>\n<ul>\n<li><p><a href=\"https://sendpk.com/blog/semi_branded_sms/\">Semi Branded</a></p>\n</li>\n<li><p><a href=\"https://sendpk.com/blog/branded-sms/\">Branded SMS</a></p>\n</li>\n<li><p><a href=\"https://sendpk.com/blog/short-code-sms/\">Short Code (OTP) SMS</a></p>\n</li>\n<li><p><a href=\"https://sendpk.com/voice-api.php\">Voice Message</a></p>\n</li>\n<li><p><a href=\"http://msgpk.com/\">Whatsapp Message</a></p>\n</li>\n</ul>\n<h2 id=\"how-to-get-started\">How to get started</h2>\n<ol>\n<li><p><a href=\"https://sendpk.com/Register.php\">Register</a><br> In order to use our API, you will need credentials. You will need <code>username</code> , <code>passowrd</code> &amp; <code>api_key</code>. These credentails can be obtained by creating an account and then by logging in <a href=\"https://sendpk.com/dashboard/profile.php\">cutomer portal</a>.</p>\n</li>\n<li><p><a href=\"https://sendpk.com/verification\">Account Verification<br></a>Verify Your Account By Providing<br> a) CNIC<br> b) Face ID<br> c) Legal Agreement On Your Letter Head<br> e) NTN</p>\n</li>\n</ol>\n<p><strong>Note!</strong><br>This is a local channel for <strong><code>terminating local/Pakistani origin companies/products/services traffic only</code></strong>, terminating traffic of any international entity directly or indirectly is considered is a crime and can lead to legal action for damages/losses incurred.</p>\n<p><strong>API Parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>username</td>\n<td>your username @ sendpk.com</td>\n</tr>\n<tr>\n<td>password</td>\n<td>your password @ sendpk.com</td>\n</tr>\n<tr>\n<td>api_key</td>\n<td>your unique api key</td>\n</tr>\n<tr>\n<td>sender</td>\n<td>masking - brand - sender</td>\n</tr>\n<tr>\n<td>mobile</td>\n<td>international mobile number e.g 923xxx</td>\n</tr>\n<tr>\n<td>network</td>\n<td>The network parameter is optional. Expected values: jazz, zong, ufone, telenor. Use it to send sms on ported/mnp/converted numbers or send message from a specific network operator</td>\n</tr>\n<tr>\n<td>message</td>\n<td>your text message</td>\n</tr>\n<tr>\n<td>type</td>\n<td>message type i.e text, unicode</td>\n</tr>\n<tr>\n<td>format</td>\n<td>output response: json,xml &amp; plain</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"9576087","collectionId":"c46b21d5-b25d-4946-9d8a-a6dac5298296","publishedId":"2s9YyvBg5s","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-02-03T07:36:32.000Z"},"item":[{"name":"Send Single Message","id":"a8661c86-d3cf-4640-b588-128cfbc8e38e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"api_key","value":"{{API_KEY}}","description":"<p>Your Unuque API Key, Get From Your Profile:\n<a href=\"https://sendpk.com/dashboard/profile.php\">https://sendpk.com/dashboard/profile.php</a></p>\n","type":"text"},{"key":"sender","value":"{{BRAND NAME}}","description":"<p>Sender - Masking - Brand Name</p>\n","type":"text"},{"key":"mobile","value":"{{923XXXX}}","description":"<p>International Format Like 92300XXX</p>\n","type":"text"},{"key":"message","value":"Hello World - This Is A Service Test Message From SENDPK.COM - Via API","description":"<p>Your Text Message</p>\n","type":"text"},{"key":"format","value":"json","description":"<p>output response: json - xml - plain</p>\n","type":"text"}]},"url":"https://sendpk.com/api/sms.php","urlObject":{"protocol":"https","path":["api","sms.php"],"host":["sendpk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8661c86-d3cf-4640-b588-128cfbc8e38e"},{"name":"Send Multiple Messages","id":"9260a066-c7ef-4f92-bc9a-e6b6669f7f9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"api_key","value":"{{API_KEY}}","description":"<p>Your Unuque API Key, Get From Your Profile:\n<a href=\"https://sendpk.com/dashboard/profile.php\">https://sendpk.com/dashboard/profile.php</a></p>\n","type":"text"},{"key":"sender","value":"{{BRAND NAME}}","description":"<p>Sender - Masking - Brand Name</p>\n","type":"text"},{"key":"mobile","value":"{{92300XXX,92313XXX,9233XXX}}","description":"<p>Comma Seperated: International Format Like 92300XXX,92313XXX</p>\n","type":"text"},{"key":"message","value":"Hello World - This Is A Service Test Message From SENDPK.COM - Via API","description":"<p>Your Text Message</p>\n","type":"text"},{"key":"format","value":"json","description":"<p>output response: json - xml - plain</p>\n","type":"text"}]},"url":"https://sendpk.com/api/sms.php","urlObject":{"protocol":"https","path":["api","sms.php"],"host":["sendpk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9260a066-c7ef-4f92-bc9a-e6b6669f7f9a"},{"name":"Send Unicode Message","id":"5ecc020b-0809-4fb1-ba8a-350b710408cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"api_key","value":"{{API_KEY}}","description":"<p>Your Unuque API Key, Get From Your Profile:\n<a href=\"https://sendpk.com/dashboard/profile.php\">https://sendpk.com/dashboard/profile.php</a></p>\n","type":"text"},{"key":"sender","value":"{{BRAND NAME}}","description":"<p>Sender - Masking - Brand Name</p>\n","type":"text"},{"key":"mobile","value":"{{923XXXX}}","description":"<p>International Format Like 92300XXX</p>\n","type":"text"},{"key":"message","value":"Hello World - This Is A Service Test Message From SENDPK.COM - Via API","description":"<p>Your Text Message</p>\n","type":"text"},{"key":"format","value":"json","description":"<p>output response: json - xml - plain</p>\n","type":"text"},{"key":"type","value":"unicode","description":"<p>Send SMS in Urdu Or in Any Other Language</p>\n","type":"text"}]},"url":"https://sendpk.com/api/sms.php","urlObject":{"protocol":"https","path":["api","sms.php"],"host":["sendpk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ecc020b-0809-4fb1-ba8a-350b710408cf"},{"name":"Send Schedule Message","id":"07c61c83-a691-4013-a91b-cc580ac0254d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"api_key","value":"{{API_KEY}}","description":"<p>Your Unuque API Key, Get From Your Profile:\n<a href=\"https://sendpk.com/dashboard/profile.php\">https://sendpk.com/dashboard/profile.php</a></p>\n","type":"text"},{"key":"sender","value":"{{BRAND NAME}}","description":"<p>Sender - Masking - Brand Name</p>\n","type":"text"},{"key":"mobile","value":"{{923XXXX}}","description":"<p>International Format Like 92300XXX</p>\n","type":"text"},{"key":"message","value":"Hello World - This Is A Service Test Message From SENDPK.COM - Via API","description":"<p>Your Text Message</p>\n","type":"text"},{"key":"format","value":"json","description":"<p>output response: json - xml - plain</p>\n","type":"text"}]},"url":"https://sendpk.com/api/sms.php","urlObject":{"protocol":"https","path":["api","sms.php"],"host":["sendpk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"07c61c83-a691-4013-a91b-cc580ac0254d"},{"name":"Send Dynamic Message","id":"d45328d0-cf92-4225-b67f-251f48f15c15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"{{Username}}","description":"<p>Your Username @ Sendpk.Com</p>\n","type":"text"},{"key":"password","value":"{{Password}}","description":"<p>Your Password @ Sendpk.Com</p>\n","type":"text"},{"key":"sender","value":"{{MASK}}","description":"<p>Sender - Masking - Brand Name</p>\n","type":"text"},{"key":"format","value":"json","description":"<p>output response: json - xml - plain</p>\n","type":"text"},{"key":"url","value":"https://sendpk.com/api/xls_sample.xls","description":"<p>Online File Path Address: Example:\n<a href=\"https://sendpk.com/api/xls_sample.xls\">https://sendpk.com/api/xls_sample.xls</a></p>\n<p>Supported File: Text, Csv, Xls, Xlsx</p>\n","type":"text"},{"key":"message","value":"Your Son #B#\nGot #C# Marks In #D#, Your Son Result Is #E#\nPlease contact the school principal for More Details.","description":"<p>#B# Mean That It Will Pick The Data From B Column In A Excel File.</p>\n<p>Like: Hi #B#\nIt Will Pick: Hi STUDENT_NAME From Column B</p>\n","type":"text"},{"key":"duplicate","value":"1","description":"<p>Type 0 For Remove Duplicate Numbers OR Type 1 For Don't Remove Duplicate Numbers (OPTIONAL)</p>\n","type":"text","disabled":true}]},"url":"https://sendpk.com/api/personalised.php","description":"<p>Personalising Your Messages Allows You To Send Bulk Sms<br />With Unique Information For Each Contact In Your File (Txt,csv,xls,xlsx).</p>\n<p>You Can Create A Single Personalised Message To All Of Your Contacts<br />By Selecting Relevant Customisable Information.<br />This Means That You Can Add The Recipients</p>\n<p>First Name, Surname, Account Number, Meeting Time Etc<br />To The Same Message And The Information Relevant To That Recipient<br />Will Be Inserted Into The Message.</p>\n<hr />\n<p>For Example:-</p>\n<p>Dear #b#!<br />You Have Got #c# Marks<br />Your Result #d#<br />Please Contact With Department For Details.</p>\n<hr />\n<p>Sample Output ( The Output Sample Is Given Below )</p>\n<p>Dear Ali Ahmad<br />You Have Got 1123 Marks<br />Your Result Pass<br />Please Contact With Department For Details.</p>\n<p>Dear Mustafa Kamal<br />You Have Got 330 Marks<br />Your Result Fail<br />Please Contact With Department For Details.</p>\n","urlObject":{"protocol":"https","path":["api","personalised.php"],"host":["sendpk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d45328d0-cf92-4225-b67f-251f48f15c15"},{"name":"Send OTP Message (Short Code Users Only)","id":"0fd78800-6408-4fd8-95b9-cfa4d2ec56d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"api_key","value":"{{API_KEY}}","description":"<p>Your Unuque API Key, Get From Your Profile:\n<a href=\"https://sendpk.com/dashboard/profile.php\">https://sendpk.com/dashboard/profile.php</a></p>\n","type":"text"},{"key":"sender","value":"{{BRAND NAME}}","description":"<p>Sender - Masking - Brand Name</p>\n","type":"text"},{"key":"mobile","value":"{{923XXXX}}","description":"<p>International Format Like 92300XXX</p>\n","type":"text"},{"key":"template_id","value":"{{Template_ID}}","description":"<p>Fixed Message Template ID</p>\n<p>Manage Your Templates:\n<a href=\"https://sendpk.com/dashboard/templates_fixed.php\">https://sendpk.com/dashboard/templates_fixed.php</a></p>\n","type":"text"},{"key":"message","value":"{{JSON_DATA}}","description":"<p>Example: {\"name\":\"Umair\", \"pin\":\"456723\"}</p>\n","type":"text"},{"key":"format","value":"json","description":"<p>output response: json - xml - plain</p>\n","type":"text"}]},"url":"https://sendpk.com/api/sms.php","description":"<p><strong>Please Visit This Blog Post For More Details</strong></p>\n<p><a href=\"https://sendpk.com/blog/fixed-sms-api/\">https://sendpk.com/blog/fixed-sms-api/</a></p>\n","urlObject":{"protocol":"https","path":["api","sms.php"],"host":["sendpk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fd78800-6408-4fd8-95b9-cfa4d2ec56d3"},{"name":"Send Voice Message | Text To Speech","id":"c6269ac6-998c-440e-b1d3-c7240f049d8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"api_key","value":"{{Your_API_KEY}}","description":"<p>Your Unuque API Key, Get From Your Profile:\n<a href=\"https://sendpk.com/dashboard/profile.php\">https://sendpk.com/dashboard/profile.php</a></p>\n","type":"text"},{"key":"type","value":"3","description":"<p>1=Template Message, 2=Recorded Message, 3=Text To Speech</p>\n","type":"text"},{"key":"mobile","value":"{{923XXX}}","description":"<p>International Format Like 92300XXX,92313XXX</p>\n","type":"text"},{"key":"text","value":"Your Verification Code is 12345","description":"<p>Your Message</p>\n","type":"text"}]},"url":"https://sendpk.com/api/voicesms.php","urlObject":{"protocol":"https","path":["api","voicesms.php"],"host":["sendpk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6269ac6-998c-440e-b1d3-c7240f049d8b"},{"name":"Send Voice Message | Template Message","id":"747d9cf7-f33f-4dd7-9bfb-580e6bc23a36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"api_key","value":"{{Your_API_KEY}}","description":"<p>Your Unuque API Key, Get From Your Profile:\n<a href=\"https://sendpk.com/dashboard/profile.php\">https://sendpk.com/dashboard/profile.php</a></p>\n","type":"text"},{"key":"type","value":"1","description":"<p>1=Template Message, 2=Recorded Message, 3=Text To Speech</p>\n","type":"text"},{"key":"mobile","value":"{{923XXX}}","description":"<p>International Format Like 92300XXX,92313XXX</p>\n","type":"text"},{"key":"audio","value":"{{Template_ID}}","description":"<p>Saved Templated ID</p>\n<p>Manage Your Templates:\n<a href=\"https://sendpk.com/dashboard/Voicetemplates.php\">https://sendpk.com/dashboard/Voicetemplates.php</a></p>\n","type":"text"}]},"url":"https://sendpk.com/api/voicesms.php","urlObject":{"protocol":"https","path":["api","voicesms.php"],"host":["sendpk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"747d9cf7-f33f-4dd7-9bfb-580e6bc23a36"},{"name":"Send Voice Message | Recorded Message","id":"a0d6a045-e70b-4a5f-b928-ab1255ede9dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"api_key","value":"{{Your_API_KEY}}","description":"<p>Your Unuque API Key, Get From Your Profile:\n<a href=\"https://sendpk.com/dashboard/profile.php\">https://sendpk.com/dashboard/profile.php</a></p>\n","type":"text"},{"key":"type","value":"2","description":"<p>1=Template Message, 2=Recorded Message, 3=Text To Speech</p>\n","type":"text"},{"key":"mobile","value":"{{923xxx}}","description":"<p>International Format Like 92300XXX,92313XXX</p>\n","type":"text"},{"key":"format","value":"json","description":"<p>output response: json - xml - plain</p>\n","type":"text"},{"key":"file","description":"<p>Local File: Wav - Mp3</p>\n","type":"file","value":null}]},"url":"https://sendpk.com/api/voicesms.php","urlObject":{"protocol":"https","path":["api","voicesms.php"],"host":["sendpk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0d6a045-e70b-4a5f-b928-ab1255ede9dc"},{"name":"Send Voice Message | DTMF - Feed Back Call - Order Confirmation Call","id":"2a222b65-e687-4c8e-91f1-9765a2cc2318","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"api_key","value":"{{Your_API_KEY}}","description":"<p>Your Unuque API Key, Get From Your Profile:\n<a href=\"https://sendpk.com/dashboard/profile.php\">https://sendpk.com/dashboard/profile.php</a></p>\n","type":"text"},{"key":"type","value":"2","description":"<p>1=Template Message, 2=Recorded Message, 3=Text To Speech</p>\n","type":"text"},{"key":"mobile","value":"{{923xxx}}","description":"<p>International Format Like 92300XXX,92313XXX</p>\n","type":"text"},{"key":"format","value":"json","description":"<p>output response: json - xml - plain</p>\n","type":"text"},{"key":"file","description":"<p>Local File: Wav - Mp3</p>\n","type":"file","value":null},{"key":"dtmf","value":"1","description":"<p>dtmf=1 To Enable this Option To Collect The Client Response</p>\n","type":"text"},{"key":"dtmf_timeout","value":"5","description":"<p>The Waiting Time Period in Seconds For End User To Enter DTMF Digits</p>\n","type":"text"},{"key":"dtmf_max","value":"{{NUMBER OF DIGIT}}","description":"<p>Defines the maximum number of DTMF codes entered by end user that would be collected. Limit 1 - 10</p>\n","type":"text"}]},"url":"https://sendpk.com/api/voicesms.php","description":"<p>This Service Will Collect The Client Phone Keys Press Data, <strong>For Example:</strong> We Want To Confirm A Order From A Client, A Call Will Be Receive &amp; Client Will Ask To Press 1 For Order Confirmation &amp; Press 2 For Order Cancellation, As Soon As Client Press Any Key On His Mobile Device, We Will Receive His Response Instantly. This Response Will Then Be Forwarded Securely To Your Defined Callback Url (Server) Via The Post Method.<br />To Set Up Your Callback Url And Ensure Seamless Integration, Please Reach Out To Our Dedicated Support Team. They Will Assist You In Configuring The Callback Url To Meet Your Specific Needs And Preferences.</p>\n","urlObject":{"protocol":"https","path":["api","voicesms.php"],"host":["sendpk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a222b65-e687-4c8e-91f1-9765a2cc2318"},{"name":"Check Remaining Balance","id":"0a5176fc-ed4a-4543-bb8f-7c89e227524f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://sendpk.com/api/balance.php?username={{Username}}&password={{Password}}&format=json","urlObject":{"protocol":"https","path":["api","balance.php"],"host":["sendpk","com"],"query":[{"description":{"content":"<p>Your Username @ Sendpk.Com</p>\n","type":"text/plain"},"key":"username","value":"{{Username}}"},{"description":{"content":"<p>Your Password @ Sendpk.Com</p>\n","type":"text/plain"},"key":"password","value":"{{Password}}"},{"description":{"content":"<p>output response: json - xml - plain</p>\n","type":"text/plain"},"key":"format","value":"json"}],"variable":[]}},"response":[],"_postman_id":"0a5176fc-ed4a-4543-bb8f-7c89e227524f"},{"name":"Check Delivery Reports","id":"238fcf6d-7d87-4da8-a92f-b702d9e0b90f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://sendpk.com/api/delivery.php?username={{Username}}&password={{Passsword}}&id={{UNIQUE_IDS}}","urlObject":{"protocol":"https","path":["api","delivery.php"],"host":["sendpk","com"],"query":[{"description":{"content":"<p>Your Username @ Sendpk.Com</p>\n","type":"text/plain"},"key":"username","value":"{{Username}}"},{"description":{"content":"<p>Your Password @ Sendpk.Com</p>\n","type":"text/plain"},"key":"password","value":"{{Passsword}}"},{"description":{"content":"<p>Comma Seperated Delivery IDS Like: \n74d77cd4-72d1-4eb1-bcf4-100b9d5d8566,392d2fb9-5984-4baf-a326-236c705ff532</p>\n","type":"text/plain"},"key":"id","value":"{{UNIQUE_IDS}}"}],"variable":[]}},"response":[],"_postman_id":"238fcf6d-7d87-4da8-a92f-b702d9e0b90f"}]}