{"info":{"_postman_id":"de61e678-0450-4e19-80e2-0731263d28df","name":"SMS Extension - API Usage Document","description":"<html><head></head><body><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>API</th>\n<th>Params</th>\n<th>Type</th>\n<th>Options</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>POST /oauth/token</strong></td>\n<td>grant_type</td>\n<td>string</td>\n<td>required — values: <strong>password</strong>, <strong>refresh_token</strong></td>\n</tr>\n<tr>\n<td></td>\n<td>client_id</td>\n<td>string</td>\n<td>required</td>\n</tr>\n<tr>\n<td></td>\n<td>client_secret</td>\n<td>string</td>\n<td>required</td>\n</tr>\n<tr>\n<td></td>\n<td>username</td>\n<td>string</td>\n<td>required when grant_type = password</td>\n</tr>\n<tr>\n<td></td>\n<td>password</td>\n<td>string</td>\n<td>required when grant_type = password</td>\n</tr>\n<tr>\n<td></td>\n<td>refresh_token</td>\n<td>string</td>\n<td>required when grant_type = refresh_token</td>\n</tr>\n<tr>\n<td><strong>GET /sender-id/list</strong></td>\n<td>—</td>\n<td>—</td>\n<td>—</td>\n</tr>\n<tr>\n<td><strong>GET /sms/list</strong></td>\n<td>sender</td>\n<td>string</td>\n<td>optional — allowed chars: [a-zA-Z0-9]</td>\n</tr>\n<tr>\n<td></td>\n<td>receiver</td>\n<td>string</td>\n<td>optional — allowed chars: [a-zA-Z0-9]</td>\n</tr>\n<tr>\n<td></td>\n<td>sent_since</td>\n<td>datetime</td>\n<td>Datetime format is YYYY-MM-DD HH:MM:SS (Y-m-d H:i:s)</td>\n</tr>\n<tr>\n<td></td>\n<td>sent_until</td>\n<td>datetime</td>\n<td>Datetime format is YYYY-MM-DD HH:MM:SS (Y-m-d H:i:s)</td>\n</tr>\n<tr>\n<td><strong>GET /sms/detail/{id}</strong></td>\n<td>id</td>\n<td>valid sms_id</td>\n<td>required</td>\n</tr>\n<tr>\n<td><strong>POST /sender-id/add</strong></td>\n<td>sender_id</td>\n<td>alpha_numeric</td>\n<td>required</td>\n</tr>\n<tr>\n<td><strong>POST /sms/send</strong></td>\n<td>source</td>\n<td>alpha_numeric</td>\n<td>required (approved sender_id)</td>\n</tr>\n<tr>\n<td></td>\n<td>destination</td>\n<td>number</td>\n<td>required</td>\n</tr>\n<tr>\n<td></td>\n<td>text</td>\n<td>text</td>\n<td>required</td>\n</tr>\n<tr>\n<td><strong>POST /click-to-dial/dial</strong></td>\n<td>destination</td>\n<td>Valid UK Number</td>\n<td>required</td>\n</tr>\n<tr>\n<td><strong>POST /click-to-dial-mask/dial</strong></td>\n<td>source</td>\n<td>Valid UK Number</td>\n<td>required</td>\n</tr>\n<tr>\n<td></td>\n<td>destination</td>\n<td>Valid UK Number</td>\n<td>required</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></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":"26315233","collectionId":"de61e678-0450-4e19-80e2-0731263d28df","publishedId":"2sB3dQwVe1","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-12-10T06:14:30.000Z"},"item":[{"name":"get access token using username/password","id":"35668053-6361-40da-9784-811a07ed5e1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"password","type":"text","description":"<p>required, string, possible values: password, refresh_token</p>\n"},{"key":"client_id","value":"{{client_id}}","type":"text","description":"<p>required, string</p>\n"},{"key":"client_secret","value":"{{client_secret}}","type":"text","description":"<p>required, string</p>\n"},{"key":"username","value":"{{username}}","type":"text","description":"<p>required when grant_type=password, string</p>\n"},{"key":"password","value":"{{password}}","type":"text","description":"<p>required when grant_type=password, string</p>\n"}]},"url":"https://smsapi.thehubwork.com/api/oauth/token","description":"<p><strong>Get access_token using username and password which you have to use one time only when the user logins into your system.</strong></p>\n","urlObject":{"protocol":"https","path":["api","oauth","token"],"host":["smsapi","thehubwork","com"],"query":[],"variable":[]}},"response":[{"id":"3a9586bd-c2fd-4b57-acbb-2cd7891d9404","name":"success response","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"password","type":"text","description":"required, string, possible values: password, refresh_token"},{"key":"client_id","value":"{{client_id}}","type":"text","description":"required, string"},{"key":"client_secret","value":"{{client_secret}}","type":"text","description":"required, string"},{"key":"username","value":"{{username}}","type":"text","description":"required when grant_type=password, string"},{"key":"password","value":"{{password}}","type":"text","description":"required when grant_type=password, string"}]},"url":"https://smsapi.thehubwork.com/api/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 10 Dec 2025 06:07:50 GMT"},{"key":"Server","value":"Apache/2.4.62 (CentOS Stream) OpenSSL/3.2.2"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"1200"},{"key":"X-RateLimit-Remaining","value":"1197"},{"key":"Vary","value":"Origin"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customer_user_name\": \"200-VasimTest\",\n    \"customer_user_id\": 2,\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJiNDk1YTI2OC1hYTg5LTRjYWQtYjlhMS01NjRkZGFiMmI5MmYiLCJqdGkiOiIyYzdlN2ZlZjc0ZGRlNDJmYWEzYWZjZWQwY2EzOGZhMDQwODgwMDUxNzVmODE3MThmZWE5ODI0YTk3ZDFkZDcwNjQ5YzBiNWM3YzliMzJmMyIsImlhdCI6MTc2NTM0Njg3MC4yNTIxMzEsIm5iZiI6MTc2NTM0Njg3MC4yNTIxMzYsImV4cCI6MTc2NTM1MDQ3MC4yNDA2MzMsInN1YiI6IjIiLCJzY29wZXMiOlsic21zOnNlbmQiLCJzbXM6bGlzdCIsInNtczpkZXRhaWwiLCJzZW5kZXItaWQ6bGlzdCIsInNlbmRlci1pZDphZGQiLCJjYWxsOmNsaWNrX3RvX2RpYWwiXX0.zoUnDxgL3sx5-8RLecmt63NbC0cvdfWHym7g4X5sGn2w7umDMKqQR2jK0ewoNMp6qmukIjigToKNst1sfSPOM3gqhsX5WIEcUQedr5EqjCDQs5_fnAJaqiW05aKWLGbl9BSHYYNYdi0pfa31GYH--CG_zpEYfVlR0fnSRxeAn0rRBSsebl42aKoFRg_N_dOTxeHNOwaM_dmP7BOo29r1_7JtobHWoEjMPVY8Ev34AUh_D2nHz8x12qxBfMuPikW6h5WK9a-WNMRJgcukRHvsUCIYv0jdQ8-t2aBEWf-T_Ohc3c8PoTRe2bsYe2TWmNwL4rzjE5AlrZNwYRlTEyifssNkfg5NndMblhNgjNlvaB334X_fluW2uPCcEd8YR0iPfoboRfvQbS_MbH_oj9Zj0AbyvIlk4PAOwB3D4IcBs-xZ_ieSR67PNTph17mBpR6URMn0_B051PGF3u3RR-Cs-FrYbJzMGm-eJ06euYb56CzsIPmbb5JdDQnHquqpP_vo8BWRKU2X2c0NRKOuXbDMFmj_LBF9crqs9qW0mqG6X-KnpLKrp9PP8X-z_pdfA8YpEkeyTc6XVHvOxDqv2TEQoshLOYen3wLafDrq6kamvm3V2ZWG48ngZpYSwdzrfDYXTgJiZ-tweW7nnrSur8u1zKzlxyDymbsYr2mRGqQSFpw\",\n    \"refresh_token\": \"def5020059bfa020c1bcd1f0f123cf34bbd8be73f25871eceaf2e4a94e75b8e25b568a21f3868abc67fad8b82ddfa0549f1ab2374bbbca067406f7597869d54424cdf4d8655f9d74451dbbf9b2014b92ab1805f431a7c56c10a9b302139b45c3f70df7a2acd185e45a3cffde65a19cf3b913fc97c79e6418ce148f9433a285679ad2622bb8cf005c63ceb93dc35c03290b7b6bcf2f96a65163118dab7a45f5a25b26450788291249a5d8804dcb2eb74fd208f32998d2e6b361b40eccf7921c10a38002d9bff305e7c9e1595135df7aabbfabbe82a5ae0a1305b0ea5abd5a6773e669eff1c3e86f80a88b10d9c76b0109fe4f71855a95d048e2077d837b48718cbd368ba9e423a269dcd6f84ee9a099dce27bf34d70da6501f8dce51136922528a53e7d7d565a7d38f6bccc4bea27ac815c5f12cd7f9af9861b9a75a6d1af8fca4055b36707d8063995763bd00ba1d93e38392b15e3d320fc848f67ce935eb3ae855467340b100a7ea58ff3a55cc17a09be7ee54e473b7becb0ee1c6d6d4ae3526477e7c524fda66e6cf8e685fcaa38f8a4176d9e61f55a099d3348163afc23fc7d203a049d7f47e1ad6dcc744e55306c6301d34c6450a1fb5cded36312016b8ee0f961a4662065bba09dd501dd732d8025dee963e129c3421432f0c9\"\n}"}],"_postman_id":"35668053-6361-40da-9784-811a07ed5e1b"},{"name":"get access token using refresh token","id":"92a5c0dd-d820-48e9-bc29-d37d3550f5ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"refresh_token","type":"text","description":"<p>Required, string, possible values: password, refresh_token</p>\n"},{"key":"refresh_token","value":"{{refresh_token}}","type":"text","description":"<p>Required when grant_type=refresh_token, string</p>\n"},{"key":"client_id","value":"{{client_id}}","type":"text","description":"<p>required, string</p>\n"},{"key":"client_secret","value":"{{client_secret}}","type":"text","description":"<p>required, string</p>\n"}]},"url":"https://smsapi.thehubwork.com/api/oauth/token","description":"<p><strong>Get access_token using refresh_token which you can do after your initial access_token is expired, use refresh_token you have received in earlier request and it is usable just one time.</strong></p>\n","urlObject":{"protocol":"https","path":["api","oauth","token"],"host":["smsapi","thehubwork","com"],"query":[],"variable":[]}},"response":[{"id":"5408c049-2349-4ca2-9930-7b7ca8c16e4e","name":"success response","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"grant_type","value":"refresh_token","type":"text","description":"Required, string, possible values: password, refresh_token"},{"key":"refresh_token","value":"{{refresh_token}}","type":"text","description":"Required when grant_type=refresh_token, string"},{"key":"client_id","value":"{{client_id}}","type":"text","description":"required, string"},{"key":"client_secret","value":"{{client_secret}}","type":"text","description":"required, string"}]},"url":"https://smsapi.thehubwork.com/api/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 10 Dec 2025 06:09:46 GMT"},{"key":"Server","value":"Apache/2.4.62 (CentOS Stream) OpenSSL/3.2.2"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"1200"},{"key":"X-RateLimit-Remaining","value":"1199"},{"key":"Vary","value":"Origin"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"customer_user_name\": \"200-VasimTest\",\n    \"customer_user_id\": \"2\",\n    \"expires_in\": 3600,\n    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJiNDk1YTI2OC1hYTg5LTRjYWQtYjlhMS01NjRkZGFiMmI5MmYiLCJqdGkiOiJjNDk4OWIyNmVjMDk4YWVjNjQ4YjExYzI1YWUyNmY2N2Y5Mjg1ZDc2ZmNhMDg5YWRhNzJkMzhhYjg0ZDc4MTM4MGFiYmJmYzllM2QwMGFiOSIsImlhdCI6MTc2NTM0Njk4Ni43ODIwMTcsIm5iZiI6MTc2NTM0Njk4Ni43ODIwMiwiZXhwIjoxNzk2ODgyOTg2Ljc3MzQ4LCJzdWIiOiIyIiwic2NvcGVzIjpbInNtczpzZW5kIiwic21zOmxpc3QiLCJzbXM6ZGV0YWlsIiwic2VuZGVyLWlkOmxpc3QiLCJzZW5kZXItaWQ6YWRkIiwiY2FsbDpjbGlja190b19kaWFsIl19.BBm3LhK8GW4ZKVRevkbCZBxctjcgoLtTue5yJCHN1gnku83PRu88DJcNMyF908S0Ers5MP69-mihYKpgXJI-WV7v8m35dJ5tnXDglJdyDdXdHhgb8WZcD4qCkEOhxvY0BA3-b1ebyxraEwWrlsZ0dt13vUh_iOi6TXT5haouiSxlNis2Ff9GLVMc6NXJxrJURyFf8n4O6ojldmwUNGDnip9trgubDKS1M1WskQV3USW7eri1rexuLzWlTAf29B67w1GA6ZBGY0VolqKB9mpepQwVhM9WBmbdh7eDSw0mR0JqnvnVKyD2PM1W1yECGLg6fWEHz2diO-TU6lvWZHnXu4LOlVYkkzE0-_Hnj-v5mEoWUe3kXc1yK9DvanCJRcfc8UzaXXr8QtdNKPMtSmHKdyj_T9MisYMCMZtqcpP5XrnhC7uh5dGH6yrUBMfcv96SQzRAjV9Gs19Sp3ugbaY19dynRVvjmys4GhTd2T7s2GGlz_BRwhcJcuq2g6-KJDbEZPjr_XxP9pHlt5tbWG3akw2cTfkTBEmcBNWp8C5XA2fPJzx1jzm-nH_BmFfyOkIKCtnMPn0GzXRMIXSk1-muZmIsdxxC50BqYi2Owsb6MDeYRj9LyND21dKBNVgsD62nz8IbJlMw3tL8qSMYrPyraL_kkyKHYrDEm1pnDIm3Occ\",\n    \"refresh_token\": \"def50200c51baa28ea6552af8d9f7d9a0d56268ef08a1e244e3f2881c95ace66545055687ec2565aee59542003c07ddbbb424a7ce4739b5dd03778ea0a966a6ef9975f5c61569db4984c2f02f30e02ba0a43a9b97be2e72c48eed7c3008f2efe86eae94825274a79f9bf7879432b01f05cff69527f095a5141807a0066db1de15175ee5e78b51bd8977ca9bf0a350447e2959ef39f479e885cd141b88df03252bc8eb4f3bd1127ed854d20763d999a53c441e5002114a3d8402b010c1bcb558beeebb8e6e0d7ce4737c940a3a79a8199a5760e8f4e043b98f8b598cab3d089e94f9c9a8d97ad23bdf94f7875240623cdd40123eb944049d70e70370dc50315927bb39f0e65a714647b5ab01b29c1871c3cf7c123db9028fabd4d0bfeb3ab07d86d1a764b970026857afb9999b566b08c71e3c07a55bd8d1ac7cdda8d486d3e4d24a6030d9c1d41525be76fb1b7057c92cc95032d181b864fbc4b7ed1c658f382cead339789393170b56d67b22b616f569215d9efdfa2abbd5798e4d1e8b33cc7abd4169a0c1a7d2a09a349074e7be57cf60a9bed38eeb60942335b43b1d0619aef935d0a09986620d76666b2bca7d1503400cc6dd9a4ec1c0dc825a6e7c565e71e5a109811f6f9be7e84fc529b3e5df6c720c64762b926cd139b032f\"\n}"}],"_postman_id":"92a5c0dd-d820-48e9-bc29-d37d3550f5ca"},{"name":"sender-id/list","id":"19f77d65-e4c6-4733-8fd2-fa14329af98f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://smsapi.thehubwork.com/api/sender-id/list","description":"<p><strong>Get list of user’s sender-ids.</strong></p>\n<p>Sender ID status list =&gt; [0=&gt;Awaiting Approval, 1=&gt;Approved]</p>\n","urlObject":{"protocol":"https","path":["api","sender-id","list"],"host":["smsapi","thehubwork","com"],"query":[],"variable":[]}},"response":[{"id":"0d2c19cc-d056-4c67-8a52-00c61f0fd051","name":"success response","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://smsapi.thehubwork.com/api/sender-id/list"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 10 Dec 2025 05:06:17 GMT"},{"key":"Server","value":"Apache/2.4.62 (CentOS Stream) OpenSSL/3.2.2"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"1200"},{"key":"X-RateLimit-Remaining","value":"1199"},{"key":"Vary","value":"Origin,Authorization"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"success\",\n    \"data\": {\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"id\": 813,\n                \"customer_user_id\": 2,\n                \"sender_id\": \"44123456789\",\n                \"status\": \"0\",\n                \"created_at\": \"2025-06-17 04:00:58\",\n                \"created_by\": \"200-VasimTest\",\n                \"updated_at\": null,\n                \"updated_by\": null\n            },\n            {\n                \"id\": 678,\n                \"customer_user_id\": 2,\n                \"sender_id\": \"SMTEST\",\n                \"status\": \"0\",\n                \"created_at\": \"2025-05-09 04:17:49\",\n                \"created_by\": \"200-VasimTest\",\n                \"updated_at\": null,\n                \"updated_by\": null\n            },\n            {\n                \"id\": 61,\n                \"customer_user_id\": 2,\n                \"sender_id\": \"13234710258\",\n                \"status\": \"1\",\n                \"created_at\": \"2025-01-27 04:27:03\",\n                \"created_by\": \"200-VasimTest\",\n                \"updated_at\": \"2025-02-05 10:10:25\",\n                \"updated_by\": \"200-VasimTest\"\n            },\n            {\n                \"id\": 1,\n                \"customer_user_id\": 2,\n                \"sender_id\": \"447520602706\",\n                \"status\": \"1\",\n                \"created_at\": \"2024-09-12 03:36:05\",\n                \"created_by\": \"Vasim Test Extension User\",\n                \"updated_at\": \"2025-02-05 09:58:32\",\n                \"updated_by\": \"200-VasimTest\"\n            }\n        ],\n        \"first_page_url\": \"https://smsapi.thehubwork.com/api/sender-id/list?page=1\",\n        \"from\": 1,\n        \"last_page\": 1,\n        \"last_page_url\": \"https://smsapi.thehubwork.com/api/sender-id/list?page=1\",\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://smsapi.thehubwork.com/api/sender-id/list?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"next_page_url\": null,\n        \"path\": \"https://smsapi.thehubwork.com/api/sender-id/list\",\n        \"per_page\": 10,\n        \"prev_page_url\": null,\n        \"to\": 4,\n        \"total\": 4\n    }\n}"}],"_postman_id":"19f77d65-e4c6-4733-8fd2-fa14329af98f"},{"name":"sender-id/add","id":"d56e4503-fc08-4071-a96b-961cb2a4b9f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"sender_id","value":"12345","description":"<p>alpha-numeric value</p>\n","type":"text"}]},"url":"https://smsapi.thehubwork.com/api/sender-id/add","description":"<p><strong>Request new sender id. After requesting it will be shown as pending in the sender id list until it is approved from administration side.</strong></p>\n","urlObject":{"protocol":"https","path":["api","sender-id","add"],"host":["smsapi","thehubwork","com"],"query":[],"variable":[]}},"response":[{"id":"58671096-e2f9-4ada-b558-a2fa2b55b96c","name":"success response","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"sender_id","value":"12345","description":"alpha-numeric value","type":"text"}]},"url":"https://smsapi.thehubwork.com/api/sender-id/add"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 10 Dec 2025 05:08:17 GMT"},{"key":"Server","value":"Apache/2.4.62 (CentOS Stream) OpenSSL/3.2.2"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"1200"},{"key":"X-RateLimit-Remaining","value":"1198"},{"key":"Vary","value":"Origin,Authorization"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Sender ID is created successfully and it will be reviewed soon for approval.\"\n}"}],"_postman_id":"d56e4503-fc08-4071-a96b-961cb2a4b9f8"},{"name":"send-message","id":"430a6edf-6016-4798-ad13-10cbf60bcd02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"source","value":"447520602706","type":"text","description":"<p>required, alpha_numeric, valid approved sender_id</p>\n"},{"key":"destination","value":"447520602707","type":"text","description":"<p>required, number</p>\n"},{"key":"text","value":"Test Message 999","type":"text","description":"<p>required, text</p>\n"}]},"url":"https://smsapi.thehubwork.com/api/sms/send","description":"<p><strong>Send SMS using your sender id to the number.</strong></p>\n<p>SMS type list =&gt; [1=&gt;Sent, 2=&gt;Received]</p>\n<p>SMS delivery_status list =&gt; [0=&gt;Pending, 1=&gt;Sent, 2=&gt;Failed]</p>\n<p>SMS read_status list =&gt; [0=&gt;Unread, 1=&gt;Read]</p>\n","urlObject":{"protocol":"https","path":["api","sms","send"],"host":["smsapi","thehubwork","com"],"query":[],"variable":[]}},"response":[{"id":"d28d7f15-4b57-494e-986e-e04d5f689b8b","name":"success response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"source","value":"447520602706","type":"text"},{"key":"destination","value":"447520602707","type":"text"},{"key":"text","value":"Test Message 999","type":"text"}]},"url":"https://smsapi.thehubwork.com/api/sms/send"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 10 Dec 2025 05:08:51 GMT"},{"key":"Server","value":"Apache/2.4.62 (CentOS Stream) OpenSSL/3.2.2"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"1200"},{"key":"X-RateLimit-Remaining","value":"1199"},{"key":"Vary","value":"Origin,Authorization"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"SMS sent Successfully!\",\n    \"delivery_status\": \"0\",\n    \"sms\": {\n        \"source\": \"447520602706\",\n        \"destination\": \"447520602707\",\n        \"text\": \"Test Message 999\",\n        \"type\": \"1\",\n        \"sms_count\": 1,\n        \"delivery_status\": \"0\",\n        \"read_status\": \"1\",\n        \"time\": \"2025-12-10 05:08:51\",\n        \"sms_id\": 747033,\n        \"chat_partner\": \"447520602707\"\n    }\n}"}],"_postman_id":"430a6edf-6016-4798-ad13-10cbf60bcd02"},{"name":"send-bulk-message","id":"6eaaa941-d684-438a-9c2a-63425d810138","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"source","value":"447520602706","type":"text","description":"<p>required, alpha_numeric, valid approved sender_id</p>\n"},{"key":"text","value":"This is test message 11 (bulk)","type":"text","description":"<p>required, text</p>\n"},{"key":"destination[]","value":"447520602707","type":"text","description":"<p>required, array of numbers</p>\n"},{"key":"destination[]","value":"447700172124234235252524","type":"text","uuid":"e3d40e49-b183-4f6f-9ce0-a161e296e121"},{"key":"destination[]","value":"15167259623","type":"text","uuid":"40a518d1-c872-4f77-9286-6a46b7edf1c7","disabled":true}]},"url":"https://smsapi.thehubwork.com/api/sms/bulk-send","description":"<p><strong>Send same SMS to multiple numbers using your sender id.</strong></p>\n<p>SMS type list =&gt; [1=&gt;Sent, 2=&gt;Received]</p>\n<p>SMS delivery_status list =&gt; [0=&gt;Pending, 1=&gt;Sent, 2=&gt;Failed]</p>\n<p>SMS read_status list =&gt; [0=&gt;Unread, 1=&gt;Read]</p>\n","urlObject":{"protocol":"https","path":["api","sms","bulk-send"],"host":["smsapi","thehubwork","com"],"query":[],"variable":[]}},"response":[{"id":"268a3e0d-9120-4932-932e-377ad4900df6","name":"success response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"source","value":"447520602706","type":"text"},{"key":"text","value":"This is test message 11 (bulk)","type":"text"},{"key":"destination[]","value":"447520602707","type":"text"},{"key":"destination[]","value":"447700172124234235252524","type":"text","uuid":"e3d40e49-b183-4f6f-9ce0-a161e296e121"},{"key":"destination[]","value":"15167259623","type":"text","uuid":"40a518d1-c872-4f77-9286-6a46b7edf1c7","disabled":true}]},"url":"https://smsapi.thehubwork.com/api/sms/bulk-send"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 10 Dec 2025 05:09:25 GMT"},{"key":"Server","value":"Apache/2.4.62 (CentOS Stream) OpenSSL/3.2.2"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"1200"},{"key":"X-RateLimit-Remaining","value":"1198"},{"key":"Vary","value":"Origin,Authorization"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"SMS sent Successfully!\",\n    \"delivery_status\": \"0\"\n}"}],"_postman_id":"6eaaa941-d684-438a-9c2a-63425d810138"},{"name":"sms/list","id":"74adc77a-25d0-4fc9-8772-ab1226eff768","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://smsapi.thehubwork.com/api/sms/list?sender=447520602706&receiver=447520602707&sent_since=2025-05-14 00:00:00&sent_until=2025-05-25 07:54:58","description":"<p><strong>Get list of user’s SMS.</strong></p>\n<p>SMS type list =&gt; [1=&gt;Sent, 2=&gt;Received]</p>\n<p>SMS delivery_status list =&gt; [0=&gt;Pending, 1=&gt;Sent, 2=&gt;Failed]</p>\n<p>SMS read_status list =&gt; [0=&gt;Unread, 1=&gt;Read]</p>\n","urlObject":{"protocol":"https","path":["api","sms","list"],"host":["smsapi","thehubwork","com"],"query":[{"disabled":true,"description":{"content":"<p>page number</p>\n","type":"text/plain"},"key":"page","value":"5"},{"description":{"content":"<p>Sender of the SMS - Valid Number</p>\n","type":"text/plain"},"key":"sender","value":"447520602706"},{"description":{"content":"<p>Receiver of the SMS - Valid Number</p>\n","type":"text/plain"},"key":"receiver","value":"447520602707"},{"description":{"content":"<p>SMS Sent after given date. Datetime format is YYYY-MM-DD HH:MM:SS (Y-m-d H:i:s)</p>\n","type":"text/plain"},"key":"sent_since","value":"2025-05-14 00:00:00"},{"description":{"content":"<p>SMS Sent until given date. Datetime format is YYYY-MM-DD HH:MM:SS (Y-m-d H:i:s)</p>\n","type":"text/plain"},"key":"sent_until","value":"2025-05-25 07:54:58"}],"variable":[]}},"response":[{"id":"5600c481-80c4-41b6-8261-ff049dfa59f6","name":"success response","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://smsapi.thehubwork.com/api/sms/list?sender=447520602706&receiver=447520602707&sent_since=2025-05-14 00:00:00&sent_until=2025-05-25 07:54:58","protocol":"https","host":["smsapi","thehubwork","com"],"path":["api","sms","list"],"query":[{"key":"search","value":"124","description":"Alpha-Numeric Sender ID","type":"text","disabled":true},{"key":"page","value":"5","type":"text","disabled":true},{"key":"sender","value":"447520602706","description":"Sender of the SMS - Valid Number"},{"key":"receiver","value":"447520602707","description":"Receiver of the SMS - Valid Number"},{"key":"sent_since","value":"2025-05-14 00:00:00","description":"SMS Sent after given date. Datetime format is YYYY-MM-DD HH:MM:SS (Y-m-d H:i:s)"},{"key":"sent_until","value":"2025-05-25 07:54:58","description":"SMS Sent until given date. Datetime format is YYYY-MM-DD HH:MM:SS (Y-m-d H:i:s)"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Fri, 12 Dec 2025 11:28:48 GMT"},{"key":"Server","value":"Apache/2.4.62 (CentOS Stream) OpenSSL/3.2.2"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"1200"},{"key":"X-RateLimit-Remaining","value":"1199"},{"key":"Vary","value":"Origin,Authorization"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"success\",\n    \"data\": {\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"source\": \"447520602706\",\n                \"destination\": \"447520602707\",\n                \"text\": \"test sms for alert\",\n                \"type\": \"1\",\n                \"delivery_status\": \"1\",\n                \"read_status\": \"1\",\n                \"time\": \"2025-05-14 06:43:39\",\n                \"sms_id\": 95340\n            },\n            {\n                \"source\": \"447520602706\",\n                \"destination\": \"447520602707\",\n                \"text\": \"test\",\n                \"type\": \"1\",\n                \"delivery_status\": \"1\",\n                \"read_status\": \"1\",\n                \"time\": \"2025-05-14 06:41:29\",\n                \"sms_id\": 95338\n            },\n            {\n                \"source\": \"447520602706\",\n                \"destination\": \"447520602707\",\n                \"text\": \"test sms\",\n                \"type\": \"1\",\n                \"delivery_status\": \"1\",\n                \"read_status\": \"1\",\n                \"time\": \"2025-05-14 06:16:12\",\n                \"sms_id\": 95334\n            },\n            {\n                \"source\": \"447520602706\",\n                \"destination\": \"447520602707\",\n                \"text\": \"Test SMS\",\n                \"type\": \"1\",\n                \"delivery_status\": \"1\",\n                \"read_status\": \"1\",\n                \"time\": \"2025-05-14 06:15:20\",\n                \"sms_id\": 95332\n            }\n        ],\n        \"first_page_url\": \"https://smsapi.thehubwork.com/api/sms/list?sender=447520602706&receiver=447520602707&sent_since=2025-05-14%2000%3A00%3A00&sent_until=2025-05-25%2007%3A54%3A58&page=1\",\n        \"from\": 1,\n        \"last_page\": 1,\n        \"last_page_url\": \"https://smsapi.thehubwork.com/api/sms/list?sender=447520602706&receiver=447520602707&sent_since=2025-05-14%2000%3A00%3A00&sent_until=2025-05-25%2007%3A54%3A58&page=1\",\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://smsapi.thehubwork.com/api/sms/list?sender=447520602706&receiver=447520602707&sent_since=2025-05-14%2000%3A00%3A00&sent_until=2025-05-25%2007%3A54%3A58&page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"next_page_url\": null,\n        \"path\": \"https://smsapi.thehubwork.com/api/sms/list\",\n        \"per_page\": 10,\n        \"prev_page_url\": null,\n        \"to\": 4,\n        \"total\": 4\n    }\n}"}],"_postman_id":"74adc77a-25d0-4fc9-8772-ab1226eff768"},{"name":"sms/detail","id":"e46ec502-d4d1-44be-acb1-45b8d744ca42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://smsapi.thehubwork.com/api/sms/detail/44147","description":"<p><strong>Get details of specific SMS.</strong></p>\n<p>SMS type list =&gt; [1=&gt;Sent, 2=&gt;Received]</p>\n<p>SMS delivery_status list =&gt; [0=&gt;Pending, 1=&gt;Sent, 2=&gt;Failed]</p>\n<p>SMS read_status list =&gt; [0=&gt;Unread, 1=&gt;Read]</p>\n","urlObject":{"protocol":"https","path":["api","sms","detail","44147"],"host":["smsapi","thehubwork","com"],"query":[],"variable":[]}},"response":[{"id":"7462ddbe-4626-4f8f-a61a-83cd965a48e1","name":"success response","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://smsapi.thehubwork.com/api/sms/detail/44147"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 10 Dec 2025 05:07:39 GMT"},{"key":"Server","value":"Apache/2.4.62 (CentOS Stream) OpenSSL/3.2.2"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"1200"},{"key":"X-RateLimit-Remaining","value":"1199"},{"key":"Vary","value":"Origin,Authorization"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"success\",\n    \"data\": {\n        \"source\": \"447520602706\",\n        \"destination\": \"447700172124234235252524\",\n        \"text\": \"This is test message 11 (bulk)\",\n        \"type\": \"1\",\n        \"sms_count\": 1,\n        \"delivery_status\": \"2\",\n        \"read_status\": \"1\",\n        \"time\": \"2025-04-04 05:09:06\",\n        \"sms_id\": 44147\n    }\n}"}],"_postman_id":"e46ec502-d4d1-44be-acb1-45b8d744ca42"},{"name":"click-to-dial/dial","id":"8d86fe8a-8f09-49ce-bc0f-c1e3a9d74f6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"destination","value":"442073771555","type":"text","description":"<p>Required, Valid phone number in E164 format</p>\n"}]},"url":"https://smsapi.thehubwork.com/api/click-to-dial/dial","description":"<p><strong>Dial call to destination number.</strong></p>\n","urlObject":{"protocol":"https","path":["api","click-to-dial","dial"],"host":["smsapi","thehubwork","com"],"query":[],"variable":[]}},"response":[{"id":"47b3e198-e95b-4fc5-8628-a3bacd347c24","name":"success response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"destination","value":"442073771555","type":"text"}]},"url":"https://smsapi.thehubwork.com/api/click-to-dial/dial"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 10 Dec 2025 05:09:50 GMT"},{"key":"Server","value":"Apache/2.4.62 (CentOS Stream) OpenSSL/3.2.2"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"1200"},{"key":"X-RateLimit-Remaining","value":"1197"},{"key":"Vary","value":"Origin,Authorization"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Call Dialed successfully to 442073771555.\",\n    \"call_id\": \"16939009e8d03f\"\n}"}],"_postman_id":"8d86fe8a-8f09-49ce-bc0f-c1e3a9d74f6e"},{"name":"click-to-dial-mask","id":"23609153-97bc-4411-8f49-1dd7aeaee9e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"destination","value":"+442035041824","type":"text"},{"key":"source","value":"442035043990","type":"text","uuid":"cfad333e-dba0-4b6e-857e-73e084bca641"}]},"url":"https://smsapi.thehubwork.com/api/click-to-dial-mask/dial","urlObject":{"protocol":"https","path":["api","click-to-dial-mask","dial"],"host":["smsapi","thehubwork","com"],"query":[],"variable":[]}},"response":[{"id":"c9b284c0-eaae-4576-97f3-ff821c916a95","name":"success response","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"destination","value":"+442035041824","type":"text"},{"key":"source","value":"442035043990","type":"text","uuid":"cfad333e-dba0-4b6e-857e-73e084bca641"}]},"url":"https://smsapi.thehubwork.com/api/click-to-dial-mask/dial"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 28 Jan 2026 10:46:54 GMT"},{"key":"Server","value":"Apache/2.4.62 (CentOS Stream) OpenSSL/3.2.2"},{"key":"X-Powered-By","value":"PHP/8.2.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"1200"},{"key":"X-RateLimit-Remaining","value":"1199"},{"key":"Vary","value":"Origin,Authorization"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"message\": \"Call Dialed successfully to 442035041824.\",\n    \"call_id\": \"16979e91e03cdd\"\n}"}],"_postman_id":"23609153-97bc-4411-8f49-1dd7aeaee9e9"}]}