{"info":{"_postman_id":"788c2aff-2476-4d47-bcee-44babefcb8a3","name":"MSEGAT Communication Platform API","description":"<html><head></head><body><p>MSEGAT REST and SMPP APIs allows you to connect your apps directly to networks.<br>Where you can integrate your apps to send text messages around the world.<br>And also inquire meta-data about your account, text messages, and usage.</p>\n<ul>\n<li><p>This manual is to describe Mseagt API</p>\n</li>\n<li><p>This manual is for developers</p>\n</li>\n</ul>\n<h1 id=\"before-starting\">Before Starting</h1>\n<ul>\n<li><p>This API is based on HTTPS protocol</p>\n</li>\n<li><p>You must have an account to test this API, to register please <a href=\"https://www.msegat.com/\">https://www.msegat.com/</a></p>\n</li>\n<li><p>You must use HTTPS POST with parameters in body</p>\n</li>\n<li><p>You must use URL ENCODING when you send the variables</p>\n</li>\n<li><p>Authentication is required for all requests using the following parameters:</p>\n<ul>\n<li><p>userName: Username for the account in Msegat.</p>\n</li>\n<li><p>apiKey: API key associated with the account.</p>\n</li>\n</ul>\n</li>\n<li><p>If SMS is English only, charged 1 point per 160 chars (153 if long SMS)</p>\n</li>\n<li><p>If SMS contains non-English language, charged 1 point per 70 chars (67 if long SMS)</p>\n</li>\n<li><p>Free OTP testing available using:</p>\n<ul>\n<li><p>userSender: auth-mseg.</p>\n</li>\n<li><p>msg: \"Pin Code is: xxxx\" or \"رمز التحقق: xxxx\".</p>\n</li>\n</ul>\n</li>\n<li><p><strong>msgEncoding</strong> <em>(optional, string)</em>: Message encoding type</p>\n<ul>\n<li><p>Supported values: <code>UTF8</code>, <code>windows-1256</code></p>\n</li>\n<li><p>Default value: <code>UTF8</code></p>\n</li>\n<li><p>If not provided, the API will use <code>UTF8</code> encoding.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h1 id=\"error-codes\">Error Codes</h1>\n<ul>\n<li><p>M0000 - Success</p>\n</li>\n<li><p>M0001 - Variables missing</p>\n</li>\n<li><p>M0002 - Invalid login info</p>\n</li>\n<li><p>M0022 - Exceed number of senders allowed</p>\n</li>\n<li><p>M0023 - Sender Name is active or under activation or refused</p>\n</li>\n<li><p>M0024 - Sender Name should be in English or number</p>\n</li>\n<li><p>M0025 - Invalid Sender Name Length</p>\n</li>\n<li><p>M0026 - Sender Name is already activated or not found</p>\n</li>\n<li><p>M0027 - Activation Code is not Correct</p>\n</li>\n<li><p>M0029 - Invalid Sender Name - Sender Name should contain only letters, numbers and the maximum length should be 11 characters</p>\n</li>\n<li><p>M0030 - Sender Name should ended with AD</p>\n</li>\n<li><p>M0031 - Maximum allowed size of uploaded file is 5 MB</p>\n</li>\n<li><p>M0032 - Only pdf,png,jpg and jpeg files are allowed!</p>\n</li>\n<li><p>M0033 - Sender Type should be normal or whitelist only</p>\n</li>\n<li><p>M0034 - Please Use POST Method</p>\n</li>\n<li><p>M0036 - There is no any sender</p>\n</li>\n<li><p>M0008 - The mobile number has an incorrect prefix</p>\n</li>\n<li><p>M0037 - Please send SMS by statist IP. (If you do not have a static IP, you can disable this feature from your account settings)</p>\n</li>\n<li><p>M0090 - The Message you entered does not match any Template</p>\n</li>\n<li><p>M0092 - There are no templates Exist for this user and this sender</p>\n</li>\n<li><p>M0040 - The numbers exceeded the allowed limit</p>\n</li>\n<li><p>M0041 - No ready templates are currently available</p>\n</li>\n<li><p>1 - success</p>\n</li>\n<li><p>1010 - Variables missing</p>\n</li>\n<li><p>1020 - Invalid login info</p>\n</li>\n<li><p>1050 - MSG body is empty</p>\n</li>\n<li><p>1060 - Balance is not enough</p>\n</li>\n<li><p>1061 - MSG duplicated</p>\n</li>\n<li><p>1064 - Free OTP , Invalid MSG content you should use \"Pin Code is: xxxx\" or \"Verification Code: xxxx\" or \"رمز التحقق: 1234\" , or upgrade your account and activate your sender to send any content</p>\n</li>\n<li><p>1110 - Sender name is missing or incorrect</p>\n</li>\n<li><p>1120 - Mobile numbers is not correct or international messaging is not enabled</p>\n</li>\n<li><p>1140 - MSG length is too long</p>\n</li>\n<li><p>400 - Code expired</p>\n</li>\n<li><p>404 - Code not found</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Before Starting","slug":"before-starting"},{"content":"Error Codes","slug":"error-codes"}],"owner":"39158411","collectionId":"788c2aff-2476-4d47-bcee-44babefcb8a3","publishedId":"2sBXwqqqD2","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-06-07T12:56:19.000Z"},"item":[{"name":"Credits.php","item":[{"name":"Balance Inquiry","id":"8b29ff5e-c31a-4ae6-ad75-3b0aae5c2278","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":"https://www.msegat.com/gw/Credits.php?userName=xxxx&apiKey=xxxx","description":"<p>To inquire about your balance at Msegat.com</p>\n<ol>\n<li><p>userName (required, string, <code>username for the account in Msegat.com</code>)</p>\n</li>\n<li><p>apiKey (required, string, <code>apiKey associated with the account)</code></p>\n</li>\n</ol>\n","urlObject":{"path":["Credits.php"],"host":["https://www.msegat.com/gw"],"query":[{"key":"userName","value":"xxxx"},{"key":"apiKey","value":"xxxx"}],"variable":[]}},"response":[{"id":"e684e8d3-d0ec-434a-9566-3fae74f60f80","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://www.msegat.com/gw/Credits.php?userName=xxxx&apiKey=xxxx","host":["https://www.msegat.com/gw"],"path":["Credits.php"],"query":[{"key":"userName","value":"xxxx"},{"key":"apiKey","value":"xxxx"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"date","value":"Mon, 08 Jun 2026 09:22:44 GMT"},{"key":"content-length","value":"5"},{"key":"content-type","value":"text/html; charset=UTF-8"},{"key":"host","value":"LB"},{"key":"strict-transport-security","value":"max-age=63072000"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block;"},{"key":"referrer-policy","value":"no-referrer-when-downgrade"}],"cookie":[],"responseTime":null,"body":"272.6"}],"_postman_id":"8b29ff5e-c31a-4ae6-ad75-3b0aae5c2278"}],"id":"b194aff5-81d0-4892-b377-44a76e454df8","_postman_id":"b194aff5-81d0-4892-b377-44a76e454df8","description":""},{"name":"sendsms.php","item":[{"name":"Send SMS","id":"9074c6a9-b1cc-4953-b8ed-627b9e0ae288","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"userSender\": \"xxxx\",\n    \"userName\": \"xxxx\",\n    \"numbers\": \"966xxxxxxxxx\",\n    \"apiKey\": \"xxxx\",\n    \"msg\": \"xxxx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/sendsms.php","description":"<p>Use this service to send SMS.</p>\n<p>Rules:</p>\n<ul>\n<li><p>English SMS: 1 point per 160 chars (153 if long SMS)</p>\n</li>\n<li><p>Arabic/Other: 1 point per 70 chars (67 if long SMS)</p>\n</li>\n</ul>\n<p>Free OTP Test:<br />userSender: auth-mseg</p>\n<ol>\n<li><p>userName (required, string, <code>username for the account in Msegat.com</code>)</p>\n</li>\n<li><p>apiKey (required, string, <code>apiKey associated with the account</code>)</p>\n</li>\n<li><p>numbers (required, string, <code>international format without zeros separated by comma, example: \"966xxxxxxxxx\" or \"966xxxxxxxxx,966xxxxxxxxx,966xxxxxxxxx\"</code>)</p>\n</li>\n<li><p>userSender (required, string, <code>sender name, should be activated from Msegat.com,Max Length 11</code>)</p>\n</li>\n<li><p>msg (required, string, <code>sms body, you must put in msg to replace it with recipient name</code>)</p>\n</li>\n<li><p>timeToSend (optional, string, <code>now</code> or <code>later</code>, if not defined = <code>now</code>)</p>\n</li>\n<li><p>exactTime (optional, string,<code>datetime in format : yyyy-MM-dd HH:mm:ss , if not defined =</code>now<code>)</code></p>\n</li>\n<li><p><code>msgEncoding (optional, string,</code>UTF8<code>or</code>windows-1256<code>)</code></p>\n</li>\n<li><p><code>reqBulkId (optional, string,</code>true<code>or</code>false<code>, if not defined =</code>false<code>, when user need the msg id of the bulk, he must pass the variable with value =</code>true<code>)</code></p>\n</li>\n<li><p><code>reqFilter (optional, string,</code>true<code>or</code>false<code>, the system will filter the duplicated numbers, the default value is true</code>)</p>\n</li>\n<li><p>By (optional, string, <code>YourPlatform Name</code>)</p>\n</li>\n</ol>\n","urlObject":{"path":["sendsms.php"],"host":["https://www.msegat.com/gw"],"query":[],"variable":[]}},"response":[{"id":"2ea1b8f2-8b92-4b13-9fdc-b984d0e85dd1","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\": \"xxxx\",\n  \"msg\": \"xxxx\",\n  \"msgEncoding\": \"xxxx\",\n  \"numbers\": \"xxxx\",\n  \"userName\": \"xxxx\",\n  \"userSender\": \"xxxx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/sendsms.php"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"code\": \"1\",\r\n  \"message\": \"xxxx\"\r\n}"}],"_postman_id":"9074c6a9-b1cc-4953-b8ed-627b9e0ae288"}],"id":"1aebfb6c-fb26-4262-825c-b2d47647c5e8","_postman_id":"1aebfb6c-fb26-4262-825c-b2d47647c5e8","description":""},{"name":"getMessages.php","item":[{"name":"Get Messages","id":"4fa8c6db-18e8-427a-9821-56de24b02310","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\": \"xxxx\",\n  \"reqBulkId\": \"xxxx\",\n  \"userName\": \"xxxx\",\n  \"numbers\": \"xxxx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/getMessages.php","description":"<p>Retrieve message status and provider details</p>\n<ol>\n<li><p>userName (required, string, <code>username for the account in Msegat.com</code>)</p>\n</li>\n<li><p>apiKey (required, string, <code>apiKey associated with the account</code>)</p>\n</li>\n<li><p>numbers (optional, string, <code>string of numbers seperated by commas (optional to filter messages by mobile numbers</code>)</p>\n</li>\n<li><p>reqBulkId (required, string, <code>bulk id of the messages</code>)</p>\n</li>\n<li><p>pageNumber (optional, integer, <code>optional and the default is one</code>)</p>\n</li>\n<li><p>limit (optional, integer, <code>optional and set to default limit in case not sent</code>)</p>\n</li>\n</ol>\n","urlObject":{"path":["getMessages.php"],"host":["https://www.msegat.com/gw"],"query":[],"variable":[]}},"response":[{"id":"255936b0-a9f7-4454-93bb-aa8ab963a7ed","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\": \"xxxx\",\n  \"reqBulkId\": \"xxxx\",\n  \"userName\": \"xxxx\",\n  \"numbers\": \"xxxx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/getMessages.php"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 1,\n  \"message\": \"xxxx\",\n  \"data\": {\n    \"messages\": [\n      {\n        \"mobileNumber\": \"xxxx\",\n        \"status\": \"xxxx\",\n        \"provider\": \"xxxx\"\n      }\n    ],\n    \"pageNumber\": 1,\n    \"next\": 2,\n    \"previous\": 0\n  }\n}"}],"_postman_id":"4fa8c6db-18e8-427a-9821-56de24b02310"}],"id":"2c466a65-9824-4e6b-8d66-626cfb388350","_postman_id":"2c466a65-9824-4e6b-8d66-626cfb388350","description":""},{"name":"sendVars.php","item":[{"name":"Send Personalized Messages","id":"3d77bd24-ea26-44b1-adcc-d28e764951ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"apiKey\": \"xxxx\",\n    \"msg\": \"xxxx\",\n    \"numbers\": [\n        \"xxxx\",\n        \"xxxx\"\n    ],\n    \"userName\": \"xxxx\",\n    \"userSender\": \"xxxx\",\n    \"vars\": [\n        {\n            \"var1\": \"xxxx\",\n            \"var2\": \"xxxx\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/sendVars.php","description":"<p>Send different SMS content for each number in bulk.</p>\n<ol>\n<li><p>numbers (required, JSON, international format without zeros and it should be in array, ex: [\"966xxxxxxxxx\",\"966xxxxxxxxx\"])</p>\n</li>\n<li><p>userSender (required, string, <code>sender name, should be activated from Msegat.com</code>)</p>\n</li>\n<li><p>msg (required, string, sms body, it should contain the message body including the variables that should be between curly brackets, ex: {variable})</p>\n</li>\n<li><p>timeToSend (optional, string, <code>now</code> or <code>later</code>, if not defined = <code>now</code>) + exactTime (optional, string,<code>datetime in format : yyyy-MM-dd HH:mm:ss , if not defined =</code>now<code>)</code></p>\n</li>\n<li><p><code>msgEncoding (required, string,</code>UTF8<code>or</code>windows-1256<code>)</code></p>\n</li>\n<li><p><code>reqBulkId (optional, string,</code>true<code>or</code>false<code>, if not defined =</code>false<code>, when user need the msg id of the bulk, he must pass the variable with value =</code>true<code>)</code></p>\n</li>\n<li><p><code>reqFilter (optional, string,</code>true<code>or</code>false<code>, the system will filter the duplicated numbers, the default value is true</code>)</p>\n</li>\n<li><p>vars (required, JSON, it should contain the variables for each number, ex: [{\"var1\":\"value\",\"var2\":\"value\"},{\"var1\":\"value\",\"var2\":\"value\"}])</p>\n</li>\n</ol>\n","urlObject":{"path":["sendVars.php"],"host":["https://www.msegat.com/gw"],"query":[],"variable":[]}},"response":[{"id":"6e588532-8faa-49ab-8d9e-814efec44c15","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"apiKey\": \"xxxx\",\n    \"msg\": \"xxxx\",\n    \"numbers\": [\n        \"xxxx\",\n        \"xxxx\"\n    ],\n    \"userName\": \"xxxx\",\n    \"userSender\": \"xxxx\",\n    \"vars\": [\n        {\n            \"var1\": \"xxxx\",\n            \"var2\": \"xxxx\"\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/sendVars.php"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n  \"code\": \"1\",\r\n  \"message\": \"xxxx\"\r\n}"}],"_postman_id":"3d77bd24-ea26-44b1-adcc-d28e764951ae"}],"id":"55a74170-cccf-4dbb-a66f-d66b0a5f74ba","_postman_id":"55a74170-cccf-4dbb-a66f-d66b0a5f74ba","description":""},{"name":"calculateCost.php","item":[{"name":"Calculate Message Cost","id":"1cdcc2cd-9cbf-457d-8d2f-f542b1e9e1e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"https://www.msegat.com/gw/calculateCost.php","description":"<p>Calculate points cost before sending SMS</p>\n<ol>\n<li><p>userName (required, string, <code>username for the account in Msegat.com</code>)</p>\n</li>\n<li><p>apiKey (required, string, <code>apiKey associated with the account</code>)</p>\n</li>\n<li><p>contactType (required, string,<code>numbers</code>)</p>\n</li>\n<li><p>contacts (required, string,<code>international format without zeros separated by comma</code>)</p>\n</li>\n<li><p>msg (required, string, <code>sms body)</code></p>\n</li>\n<li><p>By (optional, string, <code>Link</code>)</p>\n</li>\n<li><p><code>msgEncoding (optional, string,</code>UTF8<code>or</code>windows-1256<code>)</code></p>\n</li>\n</ol>\n","urlObject":{"path":["calculateCost.php"],"host":["https://www.msegat.com/gw"],"query":[],"variable":[]}},"response":[{"id":"5ceb2867-86cb-4691-b8f7-b5549bc5eae1","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"text/plain"}],"body":{"mode":"formdata","formdata":[{"key":"apiKey","value":"xxxx","type":"text"},{"key":"contactType","value":"xxxx","type":"text"},{"key":"contacts","value":"xxxx","type":"text"},{"key":"msg","value":"xxxx","type":"text"},{"key":"userName","value":"xxxx","type":"text"}]},"url":"https://www.msegat.com/gw/calculateCost.php"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":"12,5"}],"_postman_id":"1cdcc2cd-9cbf-457d-8d2f-f542b1e9e1e5"}],"id":"c10c0c4b-05fc-485c-bf1d-922cd6ac5cf1","_postman_id":"c10c0c4b-05fc-485c-bf1d-922cd6ac5cf1","description":""},{"name":"sendOTPCode.php","item":[{"name":"Send OTP Code","id":"5a6a3370-0590-448e-913a-16e328f623bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\": \"xxxx\",\n  \"lang\": \"xxxx\",\n  \"number\": \"xxxx\",\n  \"userName\": \"xxxx\",\n  \"userSender\": \"xxxx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/sendOTPCode.php","description":"<p>Send verification code via SMS.</p>\n<ol>\n<li><p>lang : Ar or En in header</p>\n</li>\n<li><p>userName (required, string, username for the account in Msegat.com)</p>\n</li>\n<li><p>apiKey (required, string, apiKey associated with the account)</p>\n</li>\n<li><p>number (required, string, international format without zeros)</p>\n</li>\n<li><p>userSender (required, string)</p>\n</li>\n</ol>\n","urlObject":{"path":["sendOTPCode.php"],"host":["https://www.msegat.com/gw"],"query":[],"variable":[]}},"response":[{"id":"616c372c-1665-4a0d-982e-799032674b00","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\": \"xxxx\",\n  \"lang\": \"xxxx\",\n  \"number\": \"xxxx\",\n  \"userName\": \"xxxx\",\n  \"userSender\": \"xxxx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/sendOTPCode.php"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"date","value":"Mon, 08 Jun 2026 08:08:14 GMT"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-headers","value":"Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"},{"key":"access-control-allow-methods","value":"POST"},{"key":"content-length","value":"76"},{"key":"content-type","value":"application/json; charset=UTF-8"},{"key":"host","value":"LB"},{"key":"strict-transport-security","value":"max-age=63072000"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"1; mode=block;"},{"key":"referrer-policy","value":"no-referrer-when-downgrade"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"xx\",\n    \"success\": true,\n    \"code\": \"1\",\n    \"message\": \"xxxx\"\n}"}],"_postman_id":"5a6a3370-0590-448e-913a-16e328f623bc"}],"id":"122c3b5d-a122-412c-b2cf-8d5cec15052c","_postman_id":"122c3b5d-a122-412c-b2cf-8d5cec15052c","description":""},{"name":"verifyOTPCode.php","item":[{"name":"Verify OTP Code","id":"82e089f8-c1b9-4cfb-8acd-204333298b65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\": \"xxxx\",\n  \"code\": \"xxxx\",\n  \"id\": 1,\n  \"lang\": \"xxxx\",\n  \"userName\": \"xxxx\",\n  \"userSender\": \"xxxx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/verifyOTPCode.php","description":"<p>Verify the code after sending.</p>\n<ol>\n<li><p>lang : Ar or En in header</p>\n</li>\n<li><p>userName (required, string, username for the account in Msegat.com)</p>\n</li>\n<li><p>apiKey (required, string, apiKey associated with the account)</p>\n</li>\n<li><p>code (required, string,the verification code sent to the number via SMS)</p>\n</li>\n<li><p>userSender (required, string)</p>\n</li>\n<li><p>id (required ,the id from the response of the send code API)</p>\n</li>\n</ol>\n","urlObject":{"path":["verifyOTPCode.php"],"host":["https://www.msegat.com/gw"],"query":[],"variable":[]}},"response":[{"id":"a075e249-ddea-4bc5-ba0f-eaf6d6ba6848","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\": \"xxxx\",\n  \"code\": \"xxxx\",\n  \"id\": 1,\n  \"lang\": \"xxxx\",\n  \"userName\": \"xxxx\",\n  \"userSender\": \"xxxx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/verifyOTPCode.php"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"1\",\n  \"message\": \"xxxx\"\n}"}],"_postman_id":"82e089f8-c1b9-4cfb-8acd-204333298b65"}],"id":"93108472-bd52-4108-9d80-09e0f0e19d42","_postman_id":"93108472-bd52-4108-9d80-09e0f0e19d42","description":""},{"name":"GetMessageTemplates.php","item":[{"name":"Get Message Templates","id":"a2322f4e-45f7-46ac-a1af-fd1591dd746b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\": \"xxxx\",\n  \"userName\": \"xxxx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/GetMessageTemplates.php","description":"<p>Retrieve the list of ready message templates</p>\n<ol>\n<li><p>userName (required, string, <code>username for the account in Msegat.com</code>)</p>\n</li>\n<li><p>apiKey (required, string, <code>apiKey associated with the account</code>)</p>\n</li>\n</ol>\n","urlObject":{"path":["GetMessageTemplates.php"],"host":["https://www.msegat.com/gw"],"query":[],"variable":[]}},"response":[{"id":"93bc56f8-02c9-45d8-bf49-72829b02c48e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"apiKey\": \"xxxx\",\n  \"userName\": \"xxxx\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://www.msegat.com/gw/GetMessageTemplates.php"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"xxxx\",\n  \"message\": \"xxxx\",\n  \"result\": [\n    {\n      \"id\": 1234,\n      \"title\": \"xxxxxx\",\n      \"msgBody\": \"xxxxxx\"\n    }\n  ]\n}"}],"_postman_id":"a2322f4e-45f7-46ac-a1af-fd1591dd746b"}],"id":"127ddcd0-215a-4ff1-9a7d-0f560276aff1","_postman_id":"127ddcd0-215a-4ff1-9a7d-0f560276aff1","description":""}],"event":[{"listen":"prerequest","script":{"id":"f81a881c-eba1-4e63-94ff-ea6e5300c835","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"52697405-f548-47f5-9557-14edb81adf5e","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://www.msegat.com/gw"}]}