{"info":{"_postman_id":"1365c22a-737c-4059-91a3-cec152d72c28","name":"Dreams","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10101871","collectionId":"1365c22a-737c-4059-91a3-cec152d72c28","publishedId":"2sA3BkdtR6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-04-17T11:07:25.000Z"},"item":[{"name":"send sms( get)","id":"c5391da9-7e98-46c0-9d4e-518b17d5bef1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dreams.sa/index.php/api/sendsms/?user=api_user_1&secret_key=*****&to=966597472790&message=test&sender=sender","urlObject":{"protocol":"https","path":["index.php","api","sendsms",""],"host":["dreams","sa"],"query":[{"key":"user","value":"api_user_1"},{"key":"secret_key","value":"*****"},{"key":"to","value":"966597472790"},{"key":"message","value":"test"},{"key":"sender","value":"sender"}],"variable":[]}},"response":[{"id":"3c3a7958-974b-4c22-9d13-eacebdf5b101","name":"send sms( get)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dreams.sa/index.php/api/sendsms/?user=api_user_1&secret_key=*****&to=966597472790&message=test&sender=sender","protocol":"https","host":["dreams","sa"],"path":["index.php","api","sendsms",""],"query":[{"key":"user","value":"api_user_1"},{"key":"secret_key","value":"*****"},{"key":"to","value":"966597472790"},{"key":"message","value":"test"},{"key":"sender","value":"sender"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 16 May 2024 08:16:04 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"-110"}],"_postman_id":"c5391da9-7e98-46c0-9d4e-518b17d5bef1"},{"name":"send sms( post)","id":"61ff73de-4336-4846-8797-d77462e3383e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"user","value":"api_user_1","type":"text"},{"key":"secret_key","value":"*****","type":"text"},{"key":"to","value":"966597472790","type":"text"},{"key":"message","value":"test","type":"text"},{"key":"sender","value":"sender","type":"text"}]},"url":"https://www.dreams.sa/index.php/api/sendsms","urlObject":{"protocol":"https","path":["index.php","api","sendsms"],"host":["www","dreams","sa"],"query":[],"variable":[]}},"response":[{"id":"3cc1090c-4508-4a8d-b106-ccba56372789","name":"test send sms( post)","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"user","value":"api_user_1","type":"text"},{"key":"secret_key","value":"*****","type":"text"},{"key":"to","value":"966597472790","type":"text"},{"key":"message","value":"test","type":"text"},{"key":"sender","value":"sender","type":"text"}]},"url":"https://www.dreams.sa/index.php/api/sendsms"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 16 May 2024 08:15:29 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"-110"}],"_postman_id":"61ff73de-4336-4846-8797-d77462e3383e"},{"name":"Register","id":"eedc68a1-dda2-44bc-b368-95dda98d4141","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.dreams.sa/index.php/api/Register/?user=api_user_1&password=*****&name=APIUser1&mobile=96395522\n2001&email=api_user_1@gmail.com\n","urlObject":{"protocol":"https","path":["index.php","api","Register",""],"host":["www","dreams","sa"],"query":[{"key":"user","value":"api_user_1"},{"key":"password","value":"*****"},{"key":"name","value":"APIUser1"},{"key":"mobile","value":"96395522\n2001"},{"key":"email","value":"api_user_1@gmail.com\n"}],"variable":[]}},"response":[{"id":"f037bc88-918a-4ec4-8a7a-1a5dca9798c4","name":"Register","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://www.dreams.sa/index.php/api/Register/?user=api_user_1&password=*****&name=APIUser1&mobile=96395522\n2001&email=api_user_1@gmail.com\n","protocol":"https","host":["www","dreams","sa"],"path":["index.php","api","Register",""],"query":[{"key":"user","value":"api_user_1"},{"key":"password","value":"*****"},{"key":"name","value":"APIUser1"},{"key":"mobile","value":"96395522\n2001"},{"key":"email","value":"api_user_1@gmail.com\n"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 16 May 2024 08:14:18 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Strict-Transport-Security","value":"max-age=60000; includeSubDomains"},{"key":"Set-Cookie","value":"ci_session=00312b6bea7f7005b66c32c970bd4985dbe07f48; expires=Thu, 16-May-2024 10:14:18 GMT; Max-Age=7200; path=/; secure; HttpOnly"}],"cookie":[],"responseTime":null,"body":"-100"}],"_postman_id":"eedc68a1-dda2-44bc-b368-95dda98d4141"},{"name":"Activate account","id":"669383b4-27b3-4cb1-b210-fb8e37ee6620","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.dreams.sa/index.php/api/activate/?user=api_user_1&secret_key=******************&code=26031","urlObject":{"protocol":"https","path":["index.php","api","activate",""],"host":["www","dreams","sa"],"query":[{"key":"user","value":"api_user_1"},{"key":"secret_key","value":"******************"},{"key":"code","value":"26031"}],"variable":[]}},"response":[{"id":"cafc4285-b83c-4f3b-b68f-5044b6b0c3d3","name":"Activate account","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://www.dreams.sa/index.php/api/activate/?user=api_user_1&secret_key=******************&code=26031","protocol":"https","host":["www","dreams","sa"],"path":["index.php","api","activate",""],"query":[{"key":"user","value":"api_user_1"},{"key":"secret_key","value":"******************"},{"key":"code","value":"26031"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 16 May 2024 08:17:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Strict-Transport-Security","value":"max-age=60000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": -100,\n    \"data\": \"Wrong username or password\"\n}"}],"_postman_id":"669383b4-27b3-4cb1-b210-fb8e37ee6620"},{"name":"Login (check account)","id":"3548104b-fd40-450b-9238-fbc0ca7486cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.dreams.sa/index.php/api/chk_user/?user=api_user_1&secret_key=******************","urlObject":{"protocol":"https","path":["index.php","api","chk_user",""],"host":["www","dreams","sa"],"query":[{"key":"user","value":"api_user_1"},{"key":"secret_key","value":"******************"}],"variable":[]}},"response":[{"id":"bcd896b3-83e4-43aa-8981-2748500ddf2e","name":"Login (check account)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://www.dreams.sa/index.php/api/chk_user/?user=api_user_1&secret_key=******************","protocol":"https","host":["www","dreams","sa"],"path":["index.php","api","chk_user",""],"query":[{"key":"user","value":"api_user_1"},{"key":"secret_key","value":"******************"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 16 May 2024 08:17:55 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Strict-Transport-Security","value":"max-age=60000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"-110"}],"_postman_id":"3548104b-fd40-450b-9238-fbc0ca7486cb"},{"name":"New Sender","id":"63d4992f-75c3-42c3-b3b2-6c53041d348f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.dreams.sa/index.php/api/newsender/?user=api_user_1&secret_key=******************&sendertext=APItest","urlObject":{"protocol":"https","path":["index.php","api","newsender",""],"host":["www","dreams","sa"],"query":[{"key":"user","value":"api_user_1"},{"key":"secret_key","value":"******************"},{"key":"sendertext","value":"APItest"}],"variable":[]}},"response":[{"id":"0d94cf4a-4c80-4c0a-b777-9f11da3a223f","name":"New Sender","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://www.dreams.sa/index.php/api/newsender/?user=api_user_1&secret_key=******************&sendertext=APItest","protocol":"https","host":["www","dreams","sa"],"path":["index.php","api","newsender",""],"query":[{"key":"user","value":"api_user_1"},{"key":"secret_key","value":"******************"},{"key":"sendertext","value":"APItest"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 16 May 2024 08:19:43 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Strict-Transport-Security","value":"max-age=60000; includeSubDomains"},{"key":"Set-Cookie","value":"ci_session=9de171abc3f0df60c6cd66ffd2f420f97927db96; expires=Thu, 16-May-2024 10:19:43 GMT; Max-Age=7200; path=/; secure; HttpOnly"}],"cookie":[],"responseTime":null,"body":"-110"}],"_postman_id":"63d4992f-75c3-42c3-b3b2-6c53041d348f"},{"name":"Sender Statue","id":"33585eab-d67f-49cb-80bc-75e00c06bdc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.dreams.sa/index.php/api/senderstatus/?user=user&secret_key=******************&sendertext=APItest","urlObject":{"protocol":"https","path":["index.php","api","senderstatus",""],"host":["www","dreams","sa"],"query":[{"key":"user","value":"user"},{"key":"secret_key","value":"******************"},{"key":"sendertext","value":"APItest"}],"variable":[]}},"response":[{"id":"989e1a61-3917-4c99-8b41-493fa1119c72","name":"Sender Statue","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://www.dreams.sa/index.php/api/senderstatus/?user=user&secret_key=******************&sendertext=APItest","protocol":"https","host":["www","dreams","sa"],"path":["index.php","api","senderstatus",""],"query":[{"key":"user","value":"user"},{"key":"secret_key","value":"******************"},{"key":"sendertext","value":"APItest"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 16 May 2024 08:20:28 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Strict-Transport-Security","value":"max-age=60000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"-110"}],"_postman_id":"33585eab-d67f-49cb-80bc-75e00c06bdc0"},{"name":"- Senders for User","id":"eebcc2a4-8458-4511-950f-57c7ad220796","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.dreams.sa/index.php/api/usersender/?user=9xdebugger&secret_key=da05140a0f5059e78da0e98bc7c3223dbeac16f29bbb14f98d56fb14f6a72cdc","urlObject":{"protocol":"https","path":["index.php","api","usersender",""],"host":["www","dreams","sa"],"query":[{"key":"user","value":"9xdebugger"},{"key":"secret_key","value":"da05140a0f5059e78da0e98bc7c3223dbeac16f29bbb14f98d56fb14f6a72cdc"}],"variable":[]}},"response":[{"id":"974b0358-a993-43b8-b3b3-88783775e048","name":"- Senders for User","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://www.dreams.sa/index.php/api/usersender/?user=api_user_1&secret_key=******************","protocol":"https","host":["www","dreams","sa"],"path":["index.php","api","usersender",""],"query":[{"key":"user","value":"api_user_1"},{"key":"secret_key","value":"******************"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 16 May 2024 08:21:32 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Strict-Transport-Security","value":"max-age=60000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"-110"}],"_postman_id":"eebcc2a4-8458-4511-950f-57c7ad220796"},{"name":"- Balance Inquiry","id":"ac9ae1a5-0540-40d9-b748-a29d98e442e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.dreams.sa/index.php/api/chk_balance/?user=api_user_1&secret_key=******************","urlObject":{"protocol":"https","path":["index.php","api","chk_balance",""],"host":["www","dreams","sa"],"query":[{"key":"user","value":"api_user_1"},{"key":"secret_key","value":"******************"}],"variable":[]}},"response":[{"id":"5199d3cd-ecfd-43f5-949e-c24988ad86a2","name":"- Balance Inquiry","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://www.dreams.sa/index.php/api/chk_balance/?user=api_user_1&secret_key=******************","protocol":"https","host":["www","dreams","sa"],"path":["index.php","api","chk_balance",""],"query":[{"key":"user","value":"api_user_1"},{"key":"secret_key","value":"******************"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 16 May 2024 08:23:32 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Strict-Transport-Security","value":"max-age=60000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"-110"}],"_postman_id":"ac9ae1a5-0540-40d9-b748-a29d98e442e6"},{"name":"محادثه","id":"b92a1376-a08e-4a56-8dc3-c96d7482ef9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://dev-api.dreams.sa/v1.0/workspaces/d64ed3a8-ceb0-4ed9-bee2-7df93ad47db5/conversations?page=1","urlObject":{"protocol":"https","path":["v1.0","workspaces","d64ed3a8-ceb0-4ed9-bee2-7df93ad47db5","conversations"],"host":["dev-api","dreams","sa"],"query":[{"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"b92a1376-a08e-4a56-8dc3-c96d7482ef9a"},{"name":"New Request","id":"3c339e78-ede9-4fa1-a784-119d265e655f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://dev-api.dreams.sa/v1.0/workspaces/d64ed3a8-ceb0-4ed9-bee2-7df93ad47db5/channels?platform=livechat","urlObject":{"protocol":"https","path":["v1.0","workspaces","d64ed3a8-ceb0-4ed9-bee2-7df93ad47db5","channels"],"host":["dev-api","dreams","sa"],"query":[{"key":"platform","value":"livechat"}],"variable":[]}},"response":[],"_postman_id":"3c339e78-ede9-4fa1-a784-119d265e655f"},{"name":"New Request","id":"1d8227ea-6e05-424b-86ff-4bd1e06b74e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"1d8227ea-6e05-424b-86ff-4bd1e06b74e6"},{"name":"New Request","id":"cc6d4efe-3a72-427f-b9ad-369eddfcaa01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"cc6d4efe-3a72-427f-b9ad-369eddfcaa01"},{"name":"New Request","id":"6448d7fd-cdfe-4fae-abac-423498a0426f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"session_id\": \"a08d4417-7b47-47a5-8dd5-d13ce6284a98\",\r\n    \"form_data\": {\r\n        \"name\": \"Ahmed Elsayed\",\r\n        \"email\": \"ahmed@ahmed.com\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://dev-api.dreams.sa/v1.0/livechat/submit-pre-chat-form","urlObject":{"protocol":"https","path":["v1.0","livechat","submit-pre-chat-form"],"host":["dev-api","dreams","sa"],"query":[],"variable":[]}},"response":[],"_postman_id":"6448d7fd-cdfe-4fae-abac-423498a0426f"},{"name":"New Request","id":"2f97e419-e056-4992-8713-f243741e5e38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"2f97e419-e056-4992-8713-f243741e5e38"}]}