{ "info": { "_postman_id": "af49beab-1a02-4ae5-b01d-d9debfca0442", "name": "Wasender API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "35370845", "_collection_link": "https://www.postman.com/wasenderapi/workspace/my-workspace/collection/35370845-af49beab-1a02-4ae5-b01d-d9debfca0442?action=share&source=collection_link&creator=35370845" }, "item": [ { "name": "Sessions", "item": [ { "name": "Connect WhatsApp Session", "request": { "method": "POST", "header": [], "url": { "raw": "https://wasenderapi.com/api/whatsapp-sessions/:whatsappSession/connect", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "whatsapp-sessions", ":whatsappSession", "connect" ], "variable": [ { "key": "whatsappSession", "value": "" } ] } }, "response": [] }, { "name": "Get WhatsApp Session QR Code", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/whatsapp-sessions/:whatsappSession/qrcode", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "whatsapp-sessions", ":whatsappSession", "qrcode" ], "variable": [ { "key": "whatsappSession", "value": "" } ] } }, "response": [] }, { "name": "Disconnect WhatsApp Session", "request": { "method": "POST", "header": [], "url": { "raw": "https://wasenderapi.com/api/whatsapp-sessions/:whatsappSession/disconnect", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "whatsapp-sessions", ":whatsappSession", "disconnect" ], "variable": [ { "key": "whatsappSession", "value": "" } ] } }, "response": [] }, { "name": "Regenerate API Key", "request": { "method": "POST", "header": [], "url": { "raw": "https://wasenderapi.com/api/whatsapp-sessionsv/:whatsappSession/regenerate-key", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "whatsapp-sessionsv", ":whatsappSession", "regenerate-key" ], "variable": [ { "key": "whatsappSession", "value": "" } ] } }, "response": [] }, { "name": "Update WhatsApp Session", "request": { "method": "PUT", "header": [], "url": { "raw": "https://wasenderapi.com/api/whatsapp-sessions/:whatsappSession", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "whatsapp-sessions", ":whatsappSession" ], "variable": [ { "key": "whatsappSession", "value": "" } ] } }, "response": [] }, { "name": "Get WhatsApp Session Details", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/whatsapp-sessions/:whatsappSession", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "whatsapp-sessions", ":whatsappSession" ], "variable": [ { "key": "whatsappSession", "value": "" } ] } }, "response": [] }, { "name": "Create WhatsApp Session", "request": { "method": "POST", "header": [], "url": { "raw": "https://wasenderapi.com/api/whatsapp-sessions", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "whatsapp-sessions" ] } }, "response": [] }, { "name": "Get All WhatsApp Sessions", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/whatsapp-sessions", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "whatsapp-sessions" ] } }, "response": [] }, { "name": "Delete WhatsApp Session", "request": { "method": "DELETE", "header": [], "url": { "raw": "https://wasenderapi.com/api/whatsapp-sessions/:whatsappSession", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "whatsapp-sessions", ":whatsappSession" ], "variable": [ { "key": "whatsappSession", "value": "" } ] } }, "response": [] }, { "name": "Get Session User Info", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/user", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "user" ] } }, "response": [] }, { "name": "Check if a number is on WhatsApp", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/on-whatsapp/:jid", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "on-whatsapp", ":jid" ], "variable": [ { "key": "jid", "value": "" } ] } }, "response": [] }, { "name": "Get WhatsApp Session Status", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/status", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "status" ] } }, "response": [] } ] }, { "name": "Messages", "item": [ { "name": "Decrypt Media File", "request": { "method": "POST", "header": [], "url": { "raw": "https://wasenderapi.com/api/decrypt-media", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "decrypt-media" ] } }, "response": [] }, { "name": "Send Text Message", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"to\": \"RECIPIENT_JID\",\n \"text\": \"Hello, world!\"\n}" }, "url": { "raw": "https://wasenderapi.com/api/send-message", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "send-message" ] } }, "response": [] }, { "name": "Send Image Message", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"to\": \"RECIPIENT_JID\",\n \"imageUrl\" : IMAGE_URL\",\n \"caption\": \"Optional caption\"\n}" }, "url": { "raw": "https://wasenderapi.com/api/send-message", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "send-message" ] } }, "response": [] }, { "name": "Send Video Message", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"to\": \"RECIPIENT_JID\",\n \"videoUrl\": \"VIDEO_URL\"\n \"caption\": \"Optional caption\"\n}" }, "url": { "raw": "https://wasenderapi.com/api/send-message", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "send-message" ] } }, "response": [] }, { "name": "Send Document Message", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"to\": \"RECIPIENT_JID\",\n \"documentUrl\" : \"DOCUMENT_URL\",\n \"fileName\": \"document.pdf\"\n}" }, "url": { "raw": "https://wasenderapi.com/api/send-message", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "send-message" ] } }, "response": [] }, { "name": "Get Message Info", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/messages/:msgId/info", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "messages", ":msgId", "info" ], "variable": [ { "key": "msgId", "value": "" } ] } }, "response": [] }, { "name": "Edit a Message", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"text\": \"New message text\"\n}" }, "url": { "raw": "https://wasenderapi.com/api/messages/:msgId", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "messages", ":msgId" ], "variable": [ { "key": "msgId", "value": "" } ] } }, "response": [] }, { "name": "Delete a Message", "request": { "method": "DELETE", "header": [], "url": { "raw": "https://wasenderapi.com/api/messages/:msgId", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "messages", ":msgId" ], "variable": [ { "key": "msgId", "value": "" } ] } }, "response": [] } ] }, { "name": "Contacts", "item": [ { "name": "Block Contact", "request": { "method": "POST", "header": [], "url": { "raw": "https://wasenderapi.com/api/contacts/:contactPhoneNumber/block", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "contacts", ":contactPhoneNumber", "block" ], "variable": [ { "key": "contactPhoneNumber", "value": "" } ] } }, "response": [] }, { "name": "Get Contact Profile Picture", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/contacts/:contactPhoneNumber/picture", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "contacts", ":contactPhoneNumber", "picture" ], "variable": [ { "key": "contactPhoneNumber", "value": "" } ] } }, "response": [] }, { "name": "Get Contact Info", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/contacts/:contactPhoneNumber", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "contacts", ":contactPhoneNumber" ], "variable": [ { "key": "contactPhoneNumber", "value": "" } ] } }, "response": [] }, { "name": "Unblock Contact", "request": { "method": "POST", "header": [], "url": { "raw": "https://wasenderapi.com/api/contacts/:contactPhoneNumber/unblock", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "contacts", ":contactPhoneNumber", "unblock" ], "variable": [ { "key": "contactPhoneNumber", "value": "" } ] } }, "response": [] }, { "name": "Get All Contacts", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/contacts", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "contacts" ] } }, "response": [] } ] }, { "name": "Groups", "item": [ { "name": "Create a new group", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"name\": \"New Group Name\",\n \"participants\": [\n \"PARTICIPANT_JID_1\",\n \"PARTICIPANT_JID_2\"\n ]\n}" }, "url": { "raw": "https://wasenderapi.com/api/groups", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "groups" ] } }, "response": [] }, { "name": "Get All Groups", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/groups", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "groups" ] } }, "response": [] }, { "name": "Send Group Message", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"to\": \"GROUP_JID\",\n \"text\": \"Hello, group!\"\n}" }, "url": { "raw": "https://wasenderapi.com/api/send-message", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "send-message" ] } }, "response": [] }, { "name": "Get Group Metadata", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/groups/:groupJid/metadata", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "groups", ":groupJid", "metadata" ], "variable": [ { "key": "groupJid", "value": "" } ] } }, "response": [] }, { "name": "Get Group Participants", "request": { "method": "GET", "header": [], "url": { "raw": "https://wasenderapi.com/api/groups/:groupJid/participants", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "groups", ":groupJid", "participants" ], "variable": [ { "key": "groupJid", "value": "" } ] } }, "response": [] }, { "name": "Add Group Participants", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"participants\": [\n \"PARTICIPANT_JID_1\",\n \"PARTICIPANT_JID_2\"\n ]\n}" }, "url": { "raw": "https://wasenderapi.com/api/groups/:groupJid/participants/add", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "groups", ":groupJid", "participants", "add" ], "variable": [ { "key": "groupJid", "value": "" } ] } }, "response": [] }, { "name": "Remove Group Participants", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"participants\": [\n \"PARTICIPANT_JID_1\",\n \"PARTICIPANT_JID_2\"\n ]\n}" }, "url": { "raw": "https://wasenderapi.com/api/groups/:groupJid/participants/remove", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "groups", ":groupJid", "participants", "remove" ], "variable": [ { "key": "groupJid", "value": "" } ] } }, "response": [] }, { "name": "Update Group Settings", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\n \"subject\": \"New Group Subject\",\n \"description\": \"New group description\"\n}" }, "url": { "raw": "https://wasenderapi.com/api/groups/:groupJid/settings", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "groups", ":groupJid", "settings" ], "variable": [ { "key": "groupJid", "value": "" } ] } }, "response": [] } ] }, { "name": "Channels (Communities)", "item": [ { "name": "Send Channel Message", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"to\": \"CHANNEL_JID\",\n \"text\": \"Hello, channel!\"\n}" }, "url": { "raw": "https://wasenderapi.com/api/send-message", "protocol": "https", "host": [ "wasenderapi", "com" ], "path": [ "api", "send-message" ] } }, "response": [] } ] } ] }