{"collection":{"info":{"_postman_id":"39baeda2-65ce-4fc0-a9da-3e47a669c698","name":"WAVIRO API","description":"Perhatikan hal-hal berikut sebelum melakukan request API  \n1\\. Semua request dikirimkan dalam bentuk JSON  \n2\\. Request dikirim dengan method POST  \n3\\. Pastikan anda telah mendapatkan akses berupa secret key untuk mengakses API.  \nKemudian tambahkan \"SecretKey\" pada header API dengan value secret key yang  \nsudah didapat  \n4\\. Pastikan nomor tujuan diawali dengan kode negara tanpa menggunakan simbol  \nplus/tambah (+). Contoh: 6282386xxxxxx (Benar), 082386xxxxxx (Salah),  \n+6282386xxxxxx (Salah)","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","updatedAt":"2023-03-15T12:44:51.000Z"},"item":[{"name":"Send message","item":[{"name":"Send text message","id":"8a6f94f0-4b25-4fb9-9719-297c5ad494cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"secretkey","value":"{{secretkey}}","description":"Key yang digunakan untuk mengakses API","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"nohp\": \"{{nohp}}\",\r\n    \"pesan\": \"Test kirim text\",\r\n    \"notifyurl\":{{notifyurl}}\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{url}}/api/sendwa","protocol":"https","host":["{{url}}"],"path":["api","sendwa"]},"description":"Endpoint untuk mengirimkan pesan teks ke nomor tujuan."},"response":[]},{"name":"Send media message","id":"2815a16f-7799-4c11-9c2f-f137985661f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"secretkey","value":"{{secretkey}}","description":"key untuk mengakses API","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"nohp\": \"{{nohp}}\",\r\n    \"pesan\": \"Test kirim text\",\r\n    \"notifyurl\":{{notifyurl}},\r\n    \"mediaurl\":\"{{mediaurl}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{url}}/api/sendmedia","protocol":"https","host":["{{url}}"],"path":["api","sendmedia"]},"description":"Endpoint api untuk mengirimkan pesan media bisa berupa gambar, audio ataupun dokumen."},"response":[]},{"name":"Send text message to group","id":"7fa4fa3a-1668-4c6d-b0ab-19f6170e1a10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"secretkey","value":"{{secretkey}}","description":"key untuk mengakses API","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"groupid\": \"{{groupid}}\",\r\n    \"pesan\": \"Test kirim text\",\r\n    \"notifyurl\":\"{{notifyurl}}\",\r\n    \"mediaurl\":\"{{mediaurl}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{url}}/api/sendwatogroup","protocol":"https","host":["{{url}}"],"path":["api","sendwatogroup"]},"description":"Endpoint untuk mengirim pesan text ke group."},"response":[]},{"name":"Send media message to group","id":"5c691ac4-ae7b-463f-8784-afcc9589aa16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":[{"key":"value","value":"{{secretkey}}","type":"string"},{"key":"key","value":"secretkey","type":"string"}]},"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the secretkey header generated by Postman.","key":"secretkey","value":"{{secretkey}}","description":"key untuk mengakses API","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"groupid\": \"{{groupid}}\",\r\n    \"pesan\": \"Test kirim text\",\r\n    \"notifyurl\":\"{{notifyurl}}\",\r\n    \"mediaurl\":\"{{mediaurl}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{url}}/api/sendmediatogroup","protocol":"https","host":["{{url}}"],"path":["api","sendmediatogroup"]},"description":"Endpoint untuk mengirim pesan media (gambar, audio dan dokumen) ke group."},"response":[]},{"name":"Send location message","id":"af84e549-f1fc-4c5b-a73e-6f552ba077a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"secretkey","value":"{{secretkey}}","type":"default","description":"key untuk mengakses API"}],"body":{"mode":"raw","raw":"{\r\n    \"nohp\" :\"{{nohp}}\",\r\n    \"latitude\" :\"0.525960\",\r\n    \"longitude\" :\"101.426866\",\r\n    \"pesan\" :\"Webby Digital\\nKantor Pusat223\",\r\n    \"notifyurl\" :{{notifyurl}}\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{url}}/api/sendlocation","protocol":"https","host":["{{url}}"],"path":["api","sendlocation"]},"description":"Endpoint untuk mengirimkan lokasi."},"response":[]},{"name":"Send location message to group","id":"3e156d03-4929-471a-a611-98d85954ced3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"secretkey","value":"{{secretkey}}","type":"default","description":"Key untuk mengakses API"}],"body":{"mode":"raw","raw":"{\r\n    \"groupid\" :\"{{groupid}}\",\r\n    \"latitude\" :\"0.525960&\",\r\n    \"longitude\" :\"101.426866&\",\r\n    \"pesan\" :\"Webby Digital\\nKantor Pusat\",\r\n    \"notifyurl\" :\"{{notifyurl}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{url}}/api/sendlocationtogroup","protocol":"https","host":["{{url}}"],"path":["api","sendlocationtogroup"]},"description":"Endpoint untuk mengirimkan lokasi ke group."},"response":[]}],"id":"9fd6c18f-622f-46b5-86f3-60c28cfafa74","description":"Berisi endpoint untuk mengirimkan pesan."},{"name":"Group","item":[{"name":"Get group lists","id":"b6dde04a-0745-4b4b-8d92-31d1cb00eb61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"secretkey","value":"{{secretkey}}","description":"Key untuk mengakses API.","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{url}}/api/groups","protocol":"https","host":["{{url}}"],"path":["api","groups"]},"description":"Endpoint untuk mengambil data group yang pernah berinteraksi."},"response":[]}],"id":"74eb1791-7153-4bc9-bd1b-c513ec292abb","description":"Berisi endpoint untuk mengambil kontak dan grup"},{"name":"Bot","item":[{"name":"Get QR code","id":"32d85ec9-b3fe-4f46-b17c-32677fa011b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"secretkey","value":"{{secretkey}}","description":"Key untuk mengakses API.","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{url}}/api/getqr/","protocol":"https","host":["{{url}}"],"path":["api","getqr",""]},"description":"Endpoint untuk mengampil QR code untuk login Whatsapp."},"response":[]},{"name":"Check number","id":"f74ddf9d-b2e9-438b-9705-b10acfb6627b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"secretkey","value":"{{secretkey}}","description":"Key untuk mengakses API","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"nohp\":\"{{nohp}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{url}}/api/checknumber","protocol":"https","host":["{{url}}"],"path":["api","checknumber"]},"description":"Endpoint API untuk mengecek nomor apakah terdaftar di Whatsapp atau tidak."},"response":[]}],"id":"fe914ed2-3645-492e-b6f9-3c197ebff600","description":"Berisi endpoint untuk mengambil QR code dan cek nomor terdaftar di Whatsapp."}],"event":[{"listen":"prerequest","script":{"id":"dba722cd-22cd-4997-82dc-b6500f108cef","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dcc65895-d2fd-49b5-9b89-ac438ea824e3","type":"text/javascript","exec":[""]}}],"variable":[{"id":"5649be18-b714-499a-9576-ab35a579e281","key":"url","value":"bot_url","type":"string"},{"id":"374d51dc-5b33-4984-9b73-b65d015327d4","key":"secretkey","value":"secret_key","type":"string"},{"id":"6b9b339e-3177-4379-9f54-4b5b2b49deba","key":"nohp","value":"62812xxxxxxx","type":"string"},{"id":"33c6106c-cd94-4dfb-8896-7cf38a8573b0","key":"mediaurl","value":"\"https://{url}/content.pdf\"","type":"string"},{"id":"db502626-f54d-4448-aaa8-b2b3c93e7d68","key":"notifyurl","value":"\"https://yourdomain/your_notify_url\"\n","type":"string"},{"id":"6d1ddd9f-b7a3-4884-b1dd-cfbe8e803737","key":"groupid","value":"120363xxxxxxxxxxx","type":"string"}]}}