{"info":{"_postman_id":"697ab789-d877-4896-8def-b824285827d2","name":"Web2Sms237","description":"<html><head></head><body><p>Web2Sms237 is a Restful API that allows you to send SMS in Cameroon. Visit <a href=\"https://web2sms237.com\">https://web2sms237.com</a> to create your account.\nEvery request may return http errors:</p>\n<ul>\n<li><code>400 Bad Request</code> if headers are not properly defined</li>\n<li><code>401 Unauthorized</code> if Authentication failed</li>\n<li><code>402 Payment Required</code> if your balance is insufficient for the requested action</li>\n<li><code>403 Forbidden</code> if you are not allowed to access The requested resource</li>\n<li><code>422 Unprocessable Entity</code> if the data submitted in the body are not properly defined</li>\n</ul>\n<h2 id=\"contacts\">contacts</h2>\n<ul>\n<li>Email: <a href=\"mailto:support@web2sms237.com\">support@web2sms237.com</a></li>\n<li>Telephone / Whatsapp: <a href=\"https://wa.me/237674352969\">+237 674 35 29 69</a></li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5030929","collectionId":"697ab789-d877-4896-8def-b824285827d2","publishedId":"SzmY91k6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-04-30T22:21:43.000Z"},"item":[{"name":"Make new access token","event":[{"listen":"prerequest","script":{"id":"ca13b019-186e-44cb-b0bf-180c3304f433","exec":[""],"type":"text/javascript"}}],"id":"651253c2-d4e8-458d-923c-1e550679a97e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":""},{"key":"password","value":""}]},"isInherited":false},"method":"POST","header":[{"description":"<p><a href=\"https://swagger.io/docs/specification/authentication/basic-authentication/\">Basic authentication field</a> generated from your API access: <code>api_user_id</code> and <code>api_user_secret</code></p>\n","key":"Authorization","type":"text","value":"Basic {base64_encode(api_user_id:api_user_secret)}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":"https://api.web2sms237.com/token","description":"<p>Create new access token</p>\n","urlObject":{"protocol":"https","path":["token"],"host":["api","web2sms237","com"],"query":[],"variable":[]}},"response":[{"id":"14565750-2bc6-4b6d-aaae-6ab4bba66407","name":"Create new access token","originalRequest":{"method":"POST","header":[{"description":"[Basic authentication field](https://swagger.io/docs/specification/authentication/basic-authentication/) generated from your API access: `api_user_id `and `api_user_secret`","key":"Authorization","type":"text","value":"Basic OTI3NjM0M2YtNDQxOS00ZjBjLWJiZmEtMGViM2VhYWJhMTgyOjBlNjg3MTZhYWJlODlhNWIyY2Q2ZTk1NWEzMDBlOTNj"}],"url":"https://api.web2sms237.com/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"api.web2sms237.com"},{"key":"Date","value":"Thu, 30 Apr 2020 08:25:04 +0000"},{"key":"Date","value":"Thu, 30 Apr 2020 08:25:04 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.1.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"gmXjNtb3E5HA8Epl7ErawlRC3rQ=\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\"\n}"}],"_postman_id":"651253c2-d4e8-458d-923c-1e550679a97e"},{"name":"Get Balance","id":"1d0a8f65-97d6-4417-91c9-28a946a4e42c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"description":"<p><a href=\"https://swagger.io/docs/specification/authentication/bearer-authentication/\">Bearer authentication field</a></p>\n","key":"Authorization","type":"text","value":"Bearer {access_token}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":"https://api.web2sms237.com/balance","urlObject":{"protocol":"https","path":["balance"],"host":["api","web2sms237","com"],"query":[],"variable":[]}},"response":[{"id":"7f8fef8e-ae77-489c-a0dc-62dd67975dbc","name":"Get Balance Account","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer gmXjNtb3E5HA8Epl7ErawlRC3rQ=","description":"[Bearer authentication field](https://swagger.io/docs/specification/authentication/bearer-authentication/)","type":"text"}],"url":"https://api.web2sms237.com/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"api.web2sms237.com"},{"key":"Date","value":"Thu, 30 Apr 2020 19:28:28 +0000"},{"key":"Date","value":"Thu, 30 Apr 2020 19:28:28 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.1.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"}],"cookie":[],"responseTime":null,"body":"{\n    \"balance\": 967\n}"}],"_postman_id":"1d0a8f65-97d6-4417-91c9-28a946a4e42c"},{"name":"Send one SMS","id":"1dd23325-a832-42f6-a165-953c87902021","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"description":"<p><a href=\"https://swagger.io/docs/specification/authentication/bearer-authentication/\">Bearer authentication field</a></p>\n","key":"Authorization","type":"text","value":"Bearer {access_token}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"sender_id\": \"{AppName (optinal)}\",\n\t\"phone\":\"{recipent_phone_number}\",\n\t\"text\":\"{message_body}\",\n\t\"flash\":{is_message_flash (boolean)}\n}","options":{"raw":{"language":"json"}}},"url":"https://api.web2sms237.com/sms/send","description":"<p>The <code>sender_id</code> must match one of values defined from you account <a href=\"https://www.web2sms237.com/en/webapp/sender-names\">https://www.web2sms237.com/en/webapp/sender-names</a>.</p>\n<p>Returns the message ID that you can use later to check the status</p>\n","urlObject":{"protocol":"https","path":["sms","send"],"host":["api","web2sms237","com"],"query":[],"variable":[]}},"response":[{"id":"110071f3-bdb0-4816-8420-4fd4a83e5154","name":"Send one SMS","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer gmXjNtb3E5HA8Epl7ErawlRC3rQ=","description":"[Bearer authentication field](https://swagger.io/docs/specification/authentication/bearer-authentication/)","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"sender_id\": \"MyApp\",\n\t\"phone\":\"+237699112233\",\n\t\"text\":\"Web2Sms237 is an awewome app!\",\n\t\"flash\":false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.web2sms237.com/sms/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"api.web2sms237.com"},{"key":"Date","value":"Thu, 30 Apr 2020 19:43:04 +0000"},{"key":"Date","value":"Thu, 30 Apr 2020 19:43:04 GMT"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"e00e65d0-ccfb-4225-bb59-eddb18000f55\",\n    \"cost\": 21\n}"}],"_postman_id":"1dd23325-a832-42f6-a165-953c87902021"},{"name":"Send multiple SMS","id":"99a6d6d5-9018-42d7-be8b-3af1cc555a8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[{"description":"<p><a href=\"https://swagger.io/docs/specification/authentication/bearer-authentication/\">Bearer authentication field</a></p>\n","key":"Authorization","type":"text","value":"Bearer {access_token}","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"sender_id\": \"{AppName (optinal)}\",\n\t\"phone\":[\"{recipent_phone_number_1}\", \"{recipent_phone_number_2}\", ...],\n\t\"text\":[\"{text_1}\", \"{text_2}\", ...],\n\t\"flash\":{is_message_flash (boolean)}\n}","options":{"raw":{"language":"json"}}},"url":"https://api.web2sms237.com/sms/send-multiple","description":"<p>The <code>sender_id</code> must match one of values defined from you account <a href=\"https://www.web2sms237.com/en/webapp/sender-names\">https://www.web2sms237.com/en/webapp/sender-names</a>.</p>\n<p>Returns the message ID that you can use later to check the status</p>\n","urlObject":{"protocol":"https","path":["sms","send-multiple"],"host":["api","web2sms237","com"],"query":[],"variable":[]}},"response":[{"id":"51c23c44-b12b-4076-85fe-a7c1305b345e","name":"Send many SMS","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer gmXjNtb3E5HA8Epl7ErawlRC3rQ=","description":"[Bearer authentication field](https://swagger.io/docs/specification/authentication/bearer-authentication/)","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"sender_id\": \"MyApp\",\n\t\"phone\": [\n\t\t\"+237699112233\",\n\t\t\"+237677112233\",\n\t\t\"+237666112233\"\n\t],\n\t\"text\": [\n\t\t\"Hello Jonh, Web2Sms237 is an awewome app!\",\n\t\t\"Hello Matheus, Web2Sms237 is an awewome app!\",\n\t\t\"Hello Maru, Web2Sms237 is an awewome app!\"\n\t],\n\t\"flash\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.web2sms237.com/sms/send-multiple"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"api.web2sms237.com"},{"key":"Date","value":"Thu, 30 Apr 2020 19:43:04 +0000"},{"key":"Date","value":"Thu, 30 Apr 2020 19:43:04 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.1.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"694aaa8a-db42-4d21-b8b5-06574ab23476\",\n            \"cost\": 21\n        },\n        {\n            \"id\": \"f75fcf20-30e8-4950-b19b-bc0425d0b408\",\n            \"cost\": 21\n        }\n        {\n            \"id\": \"9ba69ad0-2ef3-4445-9ca8-7b2f7438920c\",\n            \"cost\": 21\n        }\n    ]\n}"}],"_postman_id":"99a6d6d5-9018-42d7-be8b-3af1cc555a8e"},{"name":"Get message status","id":"b1952378-e97d-4cb9-9179-e65db8a3d879","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {access_token}","description":"<p><a href=\"https://swagger.io/docs/specification/authentication/bearer-authentication/\">Bearer authentication field</a></p>\n","type":"text"}],"url":"https://api.web2sms237.com/sms/{message_id}","description":"<p>The possible statuses are:</p>\n<ul>\n<li><code>PENDING</code></li>\n<li><code>SENT</code></li>\n<li><code>FAILED</code></li>\n</ul>\n","urlObject":{"protocol":"https","path":["sms","{message_id}"],"host":["api","web2sms237","com"],"query":[],"variable":[]}},"response":[{"id":"28eb5805-02c6-4ea3-a1aa-351f3d94c3ed","name":"Get message status","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer gmXjNtb3E5HA8Epl7ErawlRC3rQ=","description":"[Bearer authentication field](https://swagger.io/docs/specification/authentication/bearer-authentication/)","type":"text"}],"url":"https://api.web2sms237.com/sms/e00e65d0-ccfb-4225-bb59-eddb18000f55"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"api.web2sms237.com"},{"key":"Date","value":"Thu, 30 Apr 2020 19:48:27 +0000"},{"key":"Date","value":"Thu, 30 Apr 2020 19:48:27 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.1.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"PENDING\"\n}"}],"_postman_id":"b1952378-e97d-4cb9-9179-e65db8a3d879"},{"name":"Send message simple","event":[{"listen":"prerequest","script":{"id":"b4ed7fd8-0794-4df0-981f-7b4e8766ce2b","exec":[""],"type":"text/javascript"}}],"id":"f624840d-8b3b-47d1-a926-1453fd61efe3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.web2sms237.com/send-sms?phone=237699225588&text=Hello%20Message%20Test&sid=Sender&token=WZtKt2hpWYZwXJuAKyGl95GoY=","description":"<p>Create new access token</p>\n","urlObject":{"protocol":"https","path":["send-sms"],"host":["api","web2sms237","com"],"query":[{"description":{"content":"<p>Recipient phone number</p>\n","type":"text/plain"},"key":"phone","value":"237699225588"},{"description":{"content":"<p>Message text content</p>\n","type":"text/plain"},"key":"text","value":"Hello%20Message%20Test"},{"description":{"content":"<p>Sender name</p>\n","type":"text/plain"},"key":"sid","value":"Sender"},{"description":{"content":"<p>Bearer Token</p>\n","type":"text/plain"},"key":"token","value":"WZtKt2hpWYZwXJuAKyGl95GoY="}],"variable":[]}},"response":[{"id":"54bb0cb6-6af9-4af8-b2a0-ec60e7e3da6b","name":"Send message simple","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.web2sms237.com/send-sms?phone=237699225588&text=Hello Message Test&sid=Sender&token=WZtKt2hpWYZwXJuAKyGl95GoY=","protocol":"https","host":["api","web2sms237","com"],"path":["send-sms"],"query":[{"key":"phone","value":"237699225588"},{"key":"text","value":"Hello Message Test"},{"key":"sid","value":"Sender"},{"key":"token","value":"WZtKt2hpWYZwXJuAKyGl95GoY="}]}},"_postman_previewlanguage":null,"header":[{"key":"Host","value":"api.web2sms237.com"},{"key":"Date","value":"Thu, 30 Apr 2020 19:43:04 +0000"},{"key":"Date","value":"Thu, 30 Apr 2020 19:43:04 GMT"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Cache-Control","value":"no-cache, private"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": \"e00e65d0-ccfb-4225-bb59-eddb18000f56\",\r\n    \"cost\": 21\r\n}"}],"_postman_id":"f624840d-8b3b-47d1-a926-1453fd61efe3"}],"event":[{"listen":"prerequest","script":{"id":"e93438b5-6f3d-4538-9d67-ad62901a238b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b7bb2e1f-edc1-4f31-8eeb-e3d6bcacc5a8","type":"text/javascript","exec":[""]}}],"variable":[{"key":"api_user_id","value":""},{"key":"api_user_secret","value":""},{"key":"access_token","value":""}]}