{
  "info": {
    "_postman_id": "b275f9a7-7fd5-4197-b5de-4e3a9c9d2d78",
    "name": "WuzAPI Complete Collection",
    "description": "REST API for interacting with WhatsApp using the whatsmeow library.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "Admin",
      "item": [
        {
          "name": "List Users",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{admin_token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/users",
              "host": ["{{baseUrl}}"],
              "path": ["admin", "users"]
            },
            "description": "List users"
          },
          "response": []
        },
        {
          "name": "Get User",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{admin_token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/users/1",
              "host": ["{{baseUrl}}"],
              "path": ["admin", "users", "1"]
            },
            "description": "Get user by id"
          },
          "response": []
        },
        {
          "name": "Add User",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "{{admin_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"test_user\",\n  \"token\": \"user_token\",\n  \"webhook\": \"https://webhook.site/1234567890\",\n  \"events\": \"All\",\n  \"history\": 50,\n  \"hmacKey\": \"your_hmac_key_minimum_32_characters_long_here\",\n  \"proxyConfig\": {\n    \"enabled\": true,\n    \"proxyURL\": \"socks5://user:pass@host:port\"\n  }, \n  \"s3Config\": {\n    \"enabled\": true,\n    \"endpoint\": \"https://s3.amazonaws.com\",\n    \"region\": \"us-east-1\",\n    \"bucket\": \"my-bucket\",\n    \"accessKey\": \"AKIAIOSFODNN7EXAMPLE\",\n    \"secretKey\": \"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\",\n    \"pathStyle\": false,\n    \"publicURL\": \"https://cdn.meusite.com\",\n    \"mediaDelivery\": \"both\",\n    \"retentionDays\": 30\n  }\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/admin/users",
              "host": ["{{baseUrl}}"],
              "path": ["admin", "users"]
            },
            "description": "Add user"
          },
          "response": []
        },
        {
          "name": "Edit User",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Authorization",
                "value": "{{admin_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"updated_user\",\n  \"webhook\": \"https://webhook.site/1234567890\",\n  \"events\": \"All\",\n  \"history\": 50,\n  \"proxyConfig\": {\n    \"enabled\": false,\n    \"proxyURL\": \"\"\n  },\n  \"s3Config\": {\n    \"enabled\": false,\n    \"endpoint\": \"\",\n    \"region\": \"\",\n    \"bucket\": \"\",\n    \"accessKey\": \"\",\n    \"secretKey\": \"\",\n    \"pathStyle\": false,\n    \"publicURL\": \"\",\n    \"mediaDelivery\": \"base64\",\n    \"retentionDays\": 30\n  }\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/admin/users/1",
              "host": ["{{baseUrl}}"],
              "path": ["admin", "users", "1"]
            },
            "description": "Edit user"
          },
          "response": []
        },
        {
          "name": "Delete User",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "{{admin_token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/users/1",
              "host": ["{{baseUrl}}"],
              "path": ["admin", "users", "1"]
            },
            "description": "Delete user"
          },
          "response": []
        },
        {
          "name": "Delete User Complete",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "{{admin_token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/admin/users/1/full",
              "host": ["{{baseUrl}}"],
              "path": ["admin", "users", "1", "full"]
            },
            "description": "Delete user and related data"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Session",
      "item": [
        {
          "name": "Connect",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Subscribe\": [\"Message\", \"ReadReceipt\"],\n  \"Immediate\": true\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/session/connect",
              "host": ["{{baseUrl}}"],
              "path": ["session", "connect"]
            },
            "description": "Connect to WhatsApp"
          },
          "response": []
        },
        {
          "name": "Disconnect",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/session/disconnect",
              "host": ["{{baseUrl}}"],
              "path": ["session", "disconnect"]
            },
            "description": "Disconnect"
          },
          "response": []
        },
        {
          "name": "Logout",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/session/logout",
              "host": ["{{baseUrl}}"],
              "path": ["session", "logout"]
            },
            "description": "Logout"
          },
          "response": []
        },
        {
          "name": "Get Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/session/status",
              "host": ["{{baseUrl}}"],
              "path": ["session", "status"]
            },
            "description": "Get status"
          },
          "response": []
        },
        {
          "name": "Get QR Code",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/session/qr",
              "host": ["{{baseUrl}}"],
              "path": ["session", "qr"]
            },
            "description": "Get QR code"
          },
          "response": []
        },
        {
          "name": "Pair Phone",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5591155553934\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/session/pairphone",
              "host": ["{{baseUrl}}"],
              "path": ["session", "pairphone"]
            },
            "description": "Pair by phone"
          },
          "response": []
        },
        {
          "name": "Request History Sync",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/session/history?count=50",
              "host": ["{{baseUrl}}"],
              "path": ["session", "history"],
              "query": [
                {
                  "key": "count",
                  "value": "50"
                }
              ]
            },
            "description": "Request history sync (count is optional)"
          },
          "response": []
        },
        {
          "name": "Set History",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"history\": 50\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/session/history",
              "host": ["{{baseUrl}}"],
              "path": ["session", "history"]
            },
            "description": "Configure history storage per user"
          },
          "response": []
        },
        {
          "name": "Set Proxy",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"proxy_url\": \"socks5://user:pass@host:port\",\n  \"enable\": true\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/session/proxy",
              "host": ["{{baseUrl}}"],
              "path": ["session", "proxy"]
            },
            "description": "Set proxy"
          },
          "response": []
        },
        {
          "name": "Configure S3",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"enabled\": true,\n  \"endpoint\": \"https://s3.amazonaws.com\",\n  \"region\": \"us-east-1\",\n  \"bucket\": \"my-whatsapp-media\",\n  \"access_key\": \"AKIAIOSFODNN7EXAMPLE\",\n  \"secret_key\": \"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\",\n  \"path_style\": false,\n  \"public_url\": \"\",\n  \"media_delivery\": \"both\",\n  \"retention_days\": 30\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/session/s3/config",
              "host": ["{{baseUrl}}"],
              "path": ["session", "s3", "config"]
            },
            "description": "Configure S3 storage settings"
          },
          "response": []
        },
        {
          "name": "Get S3 Configuration",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/session/s3/config",
              "host": ["{{baseUrl}}"],
              "path": ["session", "s3", "config"]
            },
            "description": "Get current S3 configuration"
          },
          "response": []
        },
        {
          "name": "Test S3 Connection",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/session/s3/test",
              "host": ["{{baseUrl}}"],
              "path": ["session", "s3", "test"]
            },
            "description": "Test S3 connection"
          },
          "response": []
        },
        {
          "name": "Delete S3 Configuration",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/session/s3/config",
              "host": ["{{baseUrl}}"],
              "path": ["session", "s3", "config"]
            },
            "description": "Remove S3 configuration"
          },
          "response": []
        },
        {
          "name": "HMAC Configuration",
          "item": [
            {
              "name": "Configure HMAC Key",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "token",
                    "value": "{{token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"hmac_key\": \"your_hmac_key_minimum_32_characters_long_here\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/session/hmac/config",
                  "host": ["{{baseUrl}}"],
                  "path": ["session", "hmac", "config"]
                },
                "description": "Configure HMAC key for webhook signing"
              },
              "response": []
            },
            {
              "name": "Get HMAC Configuration",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "token",
                    "value": "{{token}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/session/hmac/config",
                  "host": ["{{baseUrl}}"],
                  "path": ["session", "hmac", "config"]
                },
                "description": "Get HMAC configuration status"
              },
              "response": []
            },
            {
              "name": "Delete HMAC Configuration",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "token",
                    "value": "{{token}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/session/hmac/config",
                  "host": ["{{baseUrl}}"],
                  "path": ["session", "hmac", "config"]
                },
                "description": "Delete HMAC configuration"
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Webhook",
      "item": [
        {
          "name": "Get Webhook",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/webhook",
              "host": ["{{baseUrl}}"],
              "path": ["webhook"]
            },
            "description": "Get webhook"
          },
          "response": []
        },
        {
          "name": "Set Webhook",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"webhookurl\": \"https://example.net/webhook\",\n  \"events\": [\"Message\", \"ReadReceipt\"]\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/webhook",
              "host": ["{{baseUrl}}"],
              "path": ["webhook"]
            },
            "description": "Set webhook"
          },
          "response": []
        },
        {
          "name": "Delete Webhook",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/webhook",
              "host": ["{{baseUrl}}"],
              "path": ["webhook"]
            },
            "description": "Delete webhook"
          },
          "response": []
        },
        {
          "name": "Update Webhook",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"webhook\": \"https://example.net/webhook\",\n  \"events\": [\"Message\", \"ReadReceipt\"],\n  \"active\": true\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/webhook",
              "host": ["{{baseUrl}}"],
              "path": ["webhook"]
            },
            "description": "Update webhook"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Chat",
      "item": [
        {
          "name": "Send Text Message",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"Body\": \"Hello, how are you?\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/text",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "text"]
            },
            "description": "Send text"
          },
          "response": []
        },
        {
          "name": "Send Text Message with link preview",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"Body\": \"Check my site? https://example.com\",\n  \"LinkPreview\": true\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/text",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "text"]
            },
            "description": "Send text"
          },
          "response": []
        },
        {
          "name": "Send Text Message Reply",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"Body\": \"This is my reply\",\n  \"Id\": \"ABCDABCD1234-reply\",\n  \"QuotedText\": \"Original message text\",\n  \"ContextInfo\": {\n    \"StanzaId\": \"ABCDABCD1234\",\n    \"Participant\": \"5491155553935@s.whatsapp.net\"\n  }\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/text",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "text"]
            },
            "description": "Send text message as a reply with quoted text preview"
          },
          "response": []
        },
        {
          "name": "Edit Message",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553934\",\n  \"Id\": \"AABBCC11223344\",\n  \"Body\": \"New edited message body\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/edit",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "edit"]
            },
            "description": "Edit an existing message"
          },
          "response": []
        },
        {
          "name": "Send Image",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"Image\": \"data:image/jpeg;base64,/9j/\",\n  \"Caption\": \"Image\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/image",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "image"]
            },
            "description": "Send image"
          },
          "response": []
        },
        {
          "name": "Send Audio",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"Audio\": \"data:audio/ogg;base64,/9j/\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/audio",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "audio"]
            },
            "description": "Send audio"
          },
          "response": []
        },
        {
          "name": "Send Document",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"Document\": \"data:application/octet-stream;base64,/9j/\",\n  \"FileName\": \"doc.pdf\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/document",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "document"]
            },
            "description": "Send document"
          },
          "response": []
        },
        {
          "name": "Send Video",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"Video\": \"data:video/mp4;base64,/9j/\",\n  \"Caption\": \"Video\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/video",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "video"]
            },
            "description": "Send video"
          },
          "response": []
        },
        {
          "name": "Send Sticker",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"PackName\": \"My Pack\",\n  \"PackPublisher\": \"Wuzapi\",\n  \"Emojis\": [\"😂\", \"😍\", \"👍\", \"🎉\"],\n  \"Sticker\": \"data:image/webp;base64,/9j/\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/sticker",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "sticker"]
            },
            "description": "Send sticker"
          },
          "response": []
        },
        {
          "name": "Send Location",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"Name\": \"Location\",\n  \"Latitude\": 48.858,\n  \"Longitude\": 2.294\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/location",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "location"]
            },
            "description": "Send location"
          },
          "response": []
        },
        {
          "name": "Send Contact",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"Name\": \"John\",\n  \"Vcard\": \"BEGIN:VCARD\\nVERSION:3.0\\nFN:John Doe\\nTEL:+16175551212\\nEND:VCARD\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/contact",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "contact"]
            },
            "description": "Send contact"
          },
          "response": []
        },
        {
          "name": "Send Template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"Content\": \"Title\",\n  \"Footer\": \"Footer\",\n  \"Buttons\": [\n    {\"DisplayText\":\"Yes\",\"Type\":\"quickreply\"}\n  ]\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/template",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "template"]
            },
            "description": "Send template"
          },
          "response": []
        },
        {
          "name": "Mark Read",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Id\": [\"AABBCC11223344\"],\n  \"ChatPhone\": \"5491155553934\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/markread",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "markread"]
            },
            "description": "Mark as read"
          },
          "response": []
        },
        {
          "name": "React to Message",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"Body\": \"❤️\",\n  \"Id\": \"me:3EB06F9067F80BAB89FF\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/react",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "react"]
            },
            "description": "React to message"
          },
          "response": []
        },
          {
            "name": "Send Buttons - Reply Only (max 3)",
            "request": {
              "method": "POST",
              "header": [
                { "key": "token", "value": "{{token}}" },
                { "key": "Content-Type", "value": "application/json" }
              ],
              "body": {
                "mode": "raw",
                "raw": "{\n  \"Phone\": \"5511999999999\",\n  \"Body\": \"Escolha uma opcao abaixo\",\n  \"Title\": \"Menu\",\n  \"Footer\": \"Obrigado pelo contato\",\n  \"Buttons\": [\n    {\n      \"type\": \"reply\",\n      \"id\": \"btn_sim\",\n      \"title\": \"Sim\"\n    },\n    {\n      \"type\": \"reply\",\n      \"id\": \"btn_nao\",\n      \"title\": \"Nao\"\n    },\n    {\n      \"type\": \"reply\",\n      \"id\": \"btn_ajuda\",\n      \"title\": \"Preciso de ajuda\"\n    }\n  ]\n}",
                "options": { "raw": { "language": "json" } }
              },
              "url": {
                "raw": "{{baseUrl}}/chat/send/buttons",
                "host": ["{{baseUrl}}"],
                "path": ["chat", "send", "buttons"]
              },
              "description": "Reply-only buttons (Path A).\n\n- Max 3 buttons\n- type: \"reply\" (default se omitido)\n- Nao pode misturar reply com CTA\n\nCampos do botao:\n- type: \"reply\"\n- id: ID retornado no evento de resposta (default: title)\n- title: texto exibido (max 20 caracteres, truncado automaticamente)"
            },
            "response": []
          },
          {
            "name": "Send Buttons - CTA URL (max 5)",
            "request": {
              "method": "POST",
              "header": [
                { "key": "token", "value": "{{token}}" },
                { "key": "Content-Type", "value": "application/json" }
              ],
              "body": {
                "mode": "raw",
                "raw": "{\n  \"Phone\": \"5511999999999\",\n  \"Body\": \"Acesse nosso site ou entre em contato\",\n  \"Title\": \"Minha Loja\",\n  \"Footer\": \"Obrigado\",\n  \"Buttons\": [\n    {\n      \"type\": \"cta_url\",\n      \"title\": \"Abrir site\",\n      \"url\": \"https://example.com\"\n    }\n  ]\n}",
                "options": { "raw": { "language": "json" } }
              },
              "url": {
                "raw": "{{baseUrl}}/chat/send/buttons",
                "host": ["{{baseUrl}}"],
                "path": ["chat", "send", "buttons"]
              },
              "description": "CTA URL button (Path B).\n\n- Abre URL no navegador do usuario\n- type: \"cta_url\" — campo \"url\" obrigatorio\n- Max 5 botoes CTA (qualquer combinacao de cta_url, cta_call, copy)\n- NAO pode misturar com type \"reply\""
            },
            "response": []
          },
          {
            "name": "Send Buttons - CTA Call",
            "request": {
              "method": "POST",
              "header": [
                { "key": "token", "value": "{{token}}" },
                { "key": "Content-Type", "value": "application/json" }
              ],
              "body": {
                "mode": "raw",
                "raw": "{\n  \"Phone\": \"5511999999999\",\n  \"Body\": \"Fale com a gente\",\n  \"Title\": \"Suporte\",\n  \"Footer\": \"Atendimento 24h\",\n  \"Buttons\": [\n    {\n      \"type\": \"cta_call\",\n      \"title\": \"Ligar agora\",\n      \"phone_number\": \"+5511999999999\"\n    }\n  ]\n}",
                "options": { "raw": { "language": "json" } }
              },
              "url": {
                "raw": "{{baseUrl}}/chat/send/buttons",
                "host": ["{{baseUrl}}"],
                "path": ["chat", "send", "buttons"]
              },
              "description": "CTA Call button (Path B).\n\n- Abre o discador do celular com o numero preenchido\n- type: \"cta_call\" — campo \"phone_number\" obrigatorio\n- Max 5 botoes CTA"
            },
            "response": []
          },
          {
            "name": "Send Buttons - CTA Copy",
            "request": {
              "method": "POST",
              "header": [
                { "key": "token", "value": "{{token}}" },
                { "key": "Content-Type", "value": "application/json" }
              ],
              "body": {
                "mode": "raw",
                "raw": "{\n  \"Phone\": \"5511999999999\",\n  \"Body\": \"Use o cupom abaixo para 10% de desconto\",\n  \"Title\": \"Cupom exclusivo\",\n  \"Footer\": \"Valido ate 31/12\",\n  \"Buttons\": [\n    {\n      \"type\": \"copy\",\n      \"title\": \"Copiar cupom\",\n      \"copy_code\": \"DESCONTO10\"\n    }\n  ]\n}",
                "options": { "raw": { "language": "json" } }
              },
              "url": {
                "raw": "{{baseUrl}}/chat/send/buttons",
                "host": ["{{baseUrl}}"],
                "path": ["chat", "send", "buttons"]
              },
              "description": "CTA Copy button (Path B).\n\n- Copia um codigo para a area de transferencia do usuario\n- type: \"copy\" — campo \"copy_code\" obrigatorio\n- Max 5 botoes CTA"
            },
            "response": []
          },
          {
            "name": "Send Buttons - CTA Misto (URL + Call + Copy)",
            "request": {
              "method": "POST",
              "header": [
                { "key": "token", "value": "{{token}}" },
                { "key": "Content-Type", "value": "application/json" }
              ],
              "body": {
                "mode": "raw",
                "raw": "{\n  \"Phone\": \"5511999999999\",\n  \"Body\": \"Escolha como deseja continuar\",\n  \"Title\": \"Minha Loja\",\n  \"Footer\": \"Obrigado pela preferencia\",\n  \"Buttons\": [\n    {\n      \"type\": \"cta_url\",\n      \"title\": \"Ver produtos\",\n      \"url\": \"https://example.com/produtos\"\n    },\n    {\n      \"type\": \"cta_call\",\n      \"title\": \"Falar com vendas\",\n      \"phone_number\": \"+5511999999999\"\n    },\n    {\n      \"type\": \"copy\",\n      \"title\": \"Copiar cupom\",\n      \"copy_code\": \"PROMO2024\"\n    }\n  ]\n}",
                "options": { "raw": { "language": "json" } }
              },
              "url": {
                "raw": "{{baseUrl}}/chat/send/buttons",
                "host": ["{{baseUrl}}"],
                "path": ["chat", "send", "buttons"]
              },
              "description": "Combinacao de CTA buttons (Path B).\n\n- Pode misturar cta_url, cta_call e copy livremente\n- Max 5 botoes no total\n- NAO pode incluir nenhum botao do tipo \"reply\" junto"
            },
            "response": []
          },
          {
            "name": "Send Buttons - CTA com Imagem no Header",
            "request": {
              "method": "POST",
              "header": [
                { "key": "token", "value": "{{token}}" },
                { "key": "Content-Type", "value": "application/json" }
              ],
              "body": {
                "mode": "raw",
                "raw": "{\n  \"Phone\": \"5511999999999\",\n  \"Body\": \"Confira nossa oferta especial\",\n  \"Footer\": \"Oferta por tempo limitado\",\n  \"Image\": \"https://example.com/banner.jpg\",\n  \"Buttons\": [\n    {\n      \"type\": \"cta_url\",\n      \"title\": \"Comprar agora\",\n      \"url\": \"https://example.com/oferta\"\n    },\n    {\n      \"type\": \"copy\",\n      \"title\": \"Copiar cupom\",\n      \"copy_code\": \"OFERTA50\"\n    }\n  ]\n}",
                "options": { "raw": { "language": "json" } }
              },
              "url": {
                "raw": "{{baseUrl}}/chat/send/buttons",
                "host": ["{{baseUrl}}"],
                "path": ["chat", "send", "buttons"]
              },
              "description": "Botoes CTA com imagem no header.\n\n- Campo \"Image\": URL HTTP ou data:image/jpeg;base64,...\n- A imagem substitui o Title quando fornecida\n- Funciona tanto para Path A (reply) quanto Path B (CTA)"
            },
            "response": []
          },
          {
            "name": "Send Buttons - Reply com Quoted Message",
            "request": {
              "method": "POST",
              "header": [
                { "key": "token", "value": "{{token}}" },
                { "key": "Content-Type", "value": "application/json" }
              ],
              "body": {
                "mode": "raw",
                "raw": "{\n  \"Phone\": \"5511999999999\",\n  \"Body\": \"Voce confirma o pedido?\",\n  \"Buttons\": [\n    { \"type\": \"reply\", \"id\": \"confirmar\", \"title\": \"Confirmar\" },\n    { \"type\": \"reply\", \"id\": \"cancelar\",  \"title\": \"Cancelar\" }\n  ],\n  \"ContextInfo\": {\n    \"StanzaID\":   \"ABCDEF1234567890\",\n    \"Participant\": \"5511999999999@s.whatsapp.net\"\n  }\n}",
                "options": { "raw": { "language": "json" } }
              },
              "url": {
                "raw": "{{baseUrl}}/chat/send/buttons",
                "host": ["{{baseUrl}}"],
                "path": ["chat", "send", "buttons"]
              },
              "description": "Reply buttons respondendo a uma mensagem especifica.\n\n- ContextInfo.StanzaID: ID da mensagem original\n- ContextInfo.Participant: JID do autor da mensagem original\n- Ambos obrigatorios quando um e informado"
            },
            "response": []
          },
          {
            "name": "Send List - Multi-secao",
            "request": {
              "method": "POST",
              "header": [
                { "key": "token", "value": "{{token}}" },
                { "key": "Content-Type", "value": "application/json" }
              ],
              "body": {
                "mode": "raw",
                "raw": "{\n  \"Phone\": \"5511999999999\",\n  \"ButtonText\": \"Ver opcoes\",\n  \"Desc\": \"Escolha um plano abaixo\",\n  \"TopText\": \"Nossos planos\",\n  \"FooterText\": \"Obrigado pelo interesse\",\n  \"Sections\": [\n    {\n      \"title\": \"Planos Mensais\",\n      \"rows\": [\n        { \"title\": \"Basico\",   \"desc\": \"Ate 5 usuarios\",    \"RowId\": \"plano_basico\" },\n        { \"title\": \"Pro\",      \"desc\": \"Ate 20 usuarios\",   \"RowId\": \"plano_pro\" },\n        { \"title\": \"Enterprise\", \"desc\": \"Usuarios ilimitados\", \"RowId\": \"plano_enterprise\" }\n      ]\n    },\n    {\n      \"title\": \"Planos Anuais\",\n      \"rows\": [\n        { \"title\": \"Basico Anual\",     \"desc\": \"20% de desconto\", \"RowId\": \"plano_basico_anual\" },\n        { \"title\": \"Pro Anual\",        \"desc\": \"25% de desconto\", \"RowId\": \"plano_pro_anual\" }\n      ]\n    }\n  ]\n}",
                "options": { "raw": { "language": "json" } }
              },
              "url": {
                "raw": "{{baseUrl}}/chat/send/list",
                "host": ["{{baseUrl}}"],
                "path": ["chat", "send", "list"]
              },
              "description": "Lista interativa com multiplas secoes (modo preferido).\n\nCampos obrigatorios:\n- Phone, Desc (ou Body/body/text), Sections com pelo menos 1 row com title\n\nCampos opcionais:\n- ButtonText: texto do botao que abre a lista (default: \"Select\")\n- TopText: titulo do header da mensagem\n- FooterText: rodape\n- RowId: ID da linha retornado no evento de selecao (default: title da row)\n- desc: descricao opcional abaixo do titulo da row"
            },
            "response": []
          },
          {
            "name": "Send List - Secao unica (legado)",
            "request": {
              "method": "POST",
              "header": [
                { "key": "token", "value": "{{token}}" },
                { "key": "Content-Type", "value": "application/json" }
              ],
              "body": {
                "mode": "raw",
                "raw": "{\n  \"Phone\": \"5511999999999\",\n  \"ButtonText\": \"Escolher\",\n  \"Desc\": \"Selecione uma opcao\",\n  \"TopText\": \"Menu\",\n  \"List\": [\n    { \"title\": \"Opcao 1\", \"desc\": \"Descricao da opcao 1\", \"RowId\": \"op1\" },\n    { \"title\": \"Opcao 2\", \"desc\": \"Descricao da opcao 2\", \"RowId\": \"op2\" },\n    { \"title\": \"Opcao 3\", \"desc\": \"Descricao da opcao 3\", \"RowId\": \"op3\" }\n  ]\n}",
                "options": { "raw": { "language": "json" } }
              },
              "url": {
                "raw": "{{baseUrl}}/chat/send/list",
                "host": ["{{baseUrl}}"],
                "path": ["chat", "send", "list"]
              },
              "description": "Lista interativa usando o campo legado \"List\" (lista flat).\n\n- Compatibilidade retroativa: campo \"List\" aceito alem de \"Sections\"\n- Todos os itens sao agrupados em uma unica secao com titulo = TopText (ou \"Menu\")\n- Prefira \"Sections\" para maior controle"
            },
            "response": []
          },
          {
            "name": "Send List - Com Quoted Message",
            "request": {
              "method": "POST",
              "header": [
                { "key": "token", "value": "{{token}}" },
                { "key": "Content-Type", "value": "application/json" }
              ],
              "body": {
                "mode": "raw",
                "raw": "{\n  \"Phone\": \"5511999999999\",\n  \"ButtonText\": \"Ver opcoes\",\n  \"Desc\": \"Escolha o departamento\",\n  \"TopText\": \"Atendimento\",\n  \"Sections\": [\n    {\n      \"title\": \"Departamentos\",\n      \"rows\": [\n        { \"title\": \"Vendas\",    \"RowId\": \"vendas\" },\n        { \"title\": \"Suporte\",   \"RowId\": \"suporte\" },\n        { \"title\": \"Financeiro\", \"RowId\": \"financeiro\" }\n      ]\n    }\n  ],\n  \"ContextInfo\": {\n    \"StanzaID\":    \"ABCDEF1234567890\",\n    \"Participant\": \"5511999999999@s.whatsapp.net\"\n  }\n}",
                "options": { "raw": { "language": "json" } }
              },
              "url": {
                "raw": "{{baseUrl}}/chat/send/list",
                "host": ["{{baseUrl}}"],
                "path": ["chat", "send", "list"]
              },
              "description": "Lista interativa respondendo a uma mensagem especifica.\n\n- ContextInfo.StanzaID: ID da mensagem original\n- ContextInfo.Participant: JID do autor da mensagem original"
            },
            "response": []
          },
        {
          "name": "Send Poll",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"group\": \"120363313346913103@g.us\",\n  \"header\": \"Qual plano voce prefere?\",\n  \"options\": [\"Basico\", \"Premium\", \"Pro\"]\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/send/poll",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "send", "poll"]
            },
            "description": "Send poll to a group"
          },
          "response": []
        },
        {
          "name": "Chat History",
          "request": {
            "method": "GET",
            "header": [
              { "key": "token", "value": "{{token}}" }
            ],
            "url": {
              "raw": "{{baseUrl}}/chat/history?chat_jid=5511999999999@s.whatsapp.net",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "history"],
              "query": [
                { "key": "chat_jid", "value": "5511999999999@s.whatsapp.net" }
              ]
            },
            "description": "Get chat history (use chat_jid=index for list)"
          },
          "response": []
        },
        {
          "name": "Request Unavailable Message",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"chat\": \"5511999999999@s.whatsapp.net\",\n  \"sender\": \"5511999999999@s.whatsapp.net\",\n  \"id\": \"ABCD1234\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/request-unavailable-message",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "request-unavailable-message"]
            },
            "description": "Request a copy of a message that couldn't be decrypted"
          },
          "response": []
        },
        {
          "name": "Archive Chat",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"jid\": \"5511999999999@s.whatsapp.net\",\n  \"archive\": true\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/archive",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "archive"]
            },
            "description": "Archive or unarchive a chat"
          },
          "response": []
        },
        {
          "name": "Download Image",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Url\": \"https://mmg.whatsapp.net/d/f/abc\",\n  \"DirectPath\": \"/v/t62.7118-24/abc\",\n  \"MediaKey\": \"BASE64_MEDIA_KEY==\",\n  \"Mimetype\": \"image/jpeg\",\n  \"FileEncSHA256\": \"BASE64_FILE_ENC_SHA256==\",\n  \"FileSHA256\": \"BASE64_FILE_SHA256==\",\n  \"FileLength\": 12345\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/downloadimage",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "downloadimage"]
            },
            "description": "Download image and return base64"
          },
          "response": []
        },
        {
          "name": "Download Audio",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Url\": \"https://mmg.whatsapp.net/d/f/abc\",\n  \"DirectPath\": \"/v/t62.7118-24/abc\",\n  \"MediaKey\": \"BASE64_MEDIA_KEY==\",\n  \"Mimetype\": \"audio/ogg\",\n  \"FileEncSHA256\": \"BASE64_FILE_ENC_SHA256==\",\n  \"FileSHA256\": \"BASE64_FILE_SHA256==\",\n  \"FileLength\": 12345\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/downloadaudio",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "downloadaudio"]
            },
            "description": "Download audio and return base64"
          },
          "response": []
        },
        {
          "name": "Download Document",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Url\": \"https://mmg.whatsapp.net/d/f/abc\",\n  \"DirectPath\": \"/v/t62.7118-24/abc\",\n  \"MediaKey\": \"BASE64_MEDIA_KEY==\",\n  \"Mimetype\": \"application/pdf\",\n  \"FileEncSHA256\": \"BASE64_FILE_ENC_SHA256==\",\n  \"FileSHA256\": \"BASE64_FILE_SHA256==\",\n  \"FileLength\": 12345\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/downloaddocument",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "downloaddocument"]
            },
            "description": "Download document and return base64"
          },
          "response": []
        },
        {
          "name": "Download Video",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Url\": \"https://mmg.whatsapp.net/d/f/abc\",\n  \"DirectPath\": \"/v/t62.7118-24/abc\",\n  \"MediaKey\": \"BASE64_MEDIA_KEY==\",\n  \"Mimetype\": \"video/mp4\",\n  \"FileEncSHA256\": \"BASE64_FILE_ENC_SHA256==\",\n  \"FileSHA256\": \"BASE64_FILE_SHA256==\",\n  \"FileLength\": 12345\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/downloadvideo",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "downloadvideo"]
            },
            "description": "Download video and return base64"
          },
          "response": []
        },
        {
          "name": "Download Sticker",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Url\": \"https://mmg.whatsapp.net/d/f/abc\",\n  \"DirectPath\": \"/v/t62.7118-24/abc\",\n  \"MediaKey\": \"BASE64_MEDIA_KEY==\",\n  \"Mimetype\": \"image/webp\",\n  \"FileEncSHA256\": \"BASE64_FILE_ENC_SHA256==\",\n  \"FileSHA256\": \"BASE64_FILE_SHA256==\",\n  \"FileLength\": 12345\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/downloadsticker",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "downloadsticker"]
            },
            "description": "Download sticker and return base64"
          },
          "response": []
        },
        {
          "name": "Chat Presence",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553935\",\n  \"State\": \"composing\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/presence",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "presence"]
            },
            "description": "Set presence"
          },
          "response": []
        },
        {
          "name": "Delete Message",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553934\",\n  \"Id\": \"AABBCC11223344\"}"
            },
            "url": {
              "raw": "{{baseUrl}}/chat/delete",
              "host": ["{{baseUrl}}"],
              "path": ["chat", "delete"]
            },
            "description": "Delete a message from a chat."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Status",
      "item": [
        {
          "name": "Set Status Text",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Body\": \"Status atualizado\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/status/set/text",
              "host": ["{{baseUrl}}"],
              "path": ["status", "set", "text"]
            },
            "description": "Set status text message"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Call",
      "item": [
        {
          "name": "Reject Call",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"call_from\": \"5511999999999\",\n  \"call_id\": \"CALL_ID_EXAMPLE\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/call/reject",
              "host": ["{{baseUrl}}"],
              "path": ["call", "reject"]
            },
            "description": "Reject an incoming call"
          },
          "response": []
        }
      ]
    },
    {
      "name": "User",
      "item": [
        {
          "name": "Check Users",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": [\"5491155553934\", \"5491155553935\"]\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/user/check",
              "host": ["{{baseUrl}}"],
              "path": ["user", "check"]
            },
            "description": "Check users"
          },
          "response": []
        },
        {
          "name": "Get User Info",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": [\"5491155553934\", \"5491155553935\"]\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/user/info",
              "host": ["{{baseUrl}}"],
              "path": ["user", "info"]
            },
            "description": "Get user information"
          },
          "response": []
        },
        {
          "name": "User Presence",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"type\": \"available\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/user/presence",
              "host": ["{{baseUrl}}"],
              "path": ["user", "presence"]
            },
            "description": "Global presence"
          },
          "response": []
        },
        {
          "name": "Get User Avatar",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Phone\": \"5491155553934\",\n  \"Preview\": true\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/user/avatar",
              "host": ["{{baseUrl}}"],
              "path": ["user", "avatar"]
            },
            "description": "Get avatar"
          },
          "response": []
        },
        {
          "name": "Get User Contacts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/contacts",
              "host": ["{{baseUrl}}"],
              "path": ["user", "contacts"]
            },
            "description": "List contacts"
          },
          "response": []
        },
        {
          "name": "Get User LID",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/lid/5511999999999",
              "host": ["{{baseUrl}}"],
              "path": ["user", "lid", "5511999999999"]
            },
            "description": "Get LID from phone/JID"
          },
          "response": []
        }
      ]
    },
    {
      "name": "Group",
      "item": [
        {
          "name": "Create Group",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Name\": \"My New Group\",\n  \"Participants\": [\"5491155553934\", \"5491155553935\"]\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/create",
              "host": ["{{baseUrl}}"],
              "path": ["group", "create"]
            },
            "description": "Create a new WhatsApp group with specified name and participants"
          },
          "response": []
        },
        {
          "name": "Set Group Locked",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"GroupJID\": \"120362023605733675@g.us\",\n  \"Locked\": true\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/locked",
              "host": ["{{baseUrl}}"],
              "path": ["group", "locked"]
            },
            "description": "Configure group as locked (only admins can alter info) or unlocked"
          },
          "response": []
        },
        {
          "name": "Set Disappearing Timer",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"GroupJID\": \"120362023605733675@g.us\",\n  \"Duration\": \"24h\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/ephemeral",
              "host": ["{{baseUrl}}"],
              "path": ["group", "ephemeral"]
            },
            "description": "Configure disappearing messages. Use '24h', '7d', '90d', or 'off'"
          },
          "response": []
        },
        {
          "name": "Remove Group Photo",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"GroupJID\": \"120362023605733675@g.us\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/photo/remove",
              "host": ["{{baseUrl}}"],
              "path": ["group", "photo", "remove"]
            },
            "description": "Remove the current photo from a WhatsApp group"
          },
          "response": []
        },
        {
          "name": "Leave Group",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"GroupJID\": \"120362023605733675@g.us\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/leave",
              "host": ["{{baseUrl}}"],
              "path": ["group", "leave"]
            },
            "description": "Leave a group"
          },
          "response": []
        },
        {
          "name": "List Groups",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/group/list",
              "host": ["{{baseUrl}}"],
              "path": ["group", "list"]
            },
            "description": "List groups"
          },
          "response": []
        },
        {
          "name": "Get Group Info",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/group/info?groupJID=120362023605733675@g.us",
              "host": ["{{baseUrl}}"],
              "path": ["group", "info"],
              "query": [
                {
                  "key": "groupJID",
                  "value": "120362023605733675@g.us"
                }
              ]
            },
            "description": "Get group information"
          },
          "response": []
        },
        {
          "name": "Get Group Invite Link",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/group/invitelink?groupJID=120362023605733675@g.us&reset=false",
              "host": ["{{baseUrl}}"],
              "path": ["group", "invitelink"],
              "query": [
                {
                  "key": "groupJID",
                  "value": "120362023605733675@g.us"
                },
                {
                  "key": "reset",
                  "value": "false"
                }
              ]
            },
            "description": "Get invite link"
          },
          "response": []
        },
        {
          "name": "Change Group Name",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"GroupJID\": \"120362023605733675@g.us\",\n  \"Name\": \"New Name\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/name",
              "host": ["{{baseUrl}}"],
              "path": ["group", "name"]
            },
            "description": "Change name"
          },
          "response": []
        },
        {
          "name": "Change Group Photo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"GroupJID\": \"120362023605733675@g.us\",\n  \"Image\": \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD...\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/photo",
              "host": ["{{baseUrl}}"],
              "path": ["group", "photo"]
            },
            "description": "Change photo"
          },
          "response": []
        },
        {
          "name": "Set Group Topic",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"GroupJID\": \"120362023605733675@g.us\",\n  \"Topic\": \"New group topic here\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/topic",
              "host": ["{{baseUrl}}"],
              "path": ["group", "topic"]
            },
            "description": "Change the group topic/description"
          },
          "response": []
        },
        {
          "name": "Set Group Announce",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"GroupJID\": \"120362023605733675@g.us\",\n  \"Announce\": true\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/announce",
              "host": ["{{baseUrl}}"],
              "path": ["group", "announce"]
            },
            "description": "Set group to announcement-only (admins only can send messages)"
          },
          "response": []
        },
        {
          "name": "Group Join",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"InviteCode\": \"AbCdEfGhIjKlMnOp\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/join",
              "host": ["{{baseUrl}}"],
              "path": ["group", "join"]
            },
            "description": "Join a group using an invite code"
          },
          "response": []
        },
        {
          "name": "Get Group Invite Info",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"InviteCode\": \"AbCdEfGhIjKlMnOp\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/inviteinfo",
              "host": ["{{baseUrl}}"],
              "path": ["group", "inviteinfo"]
            },
            "description": "Get info about a group invite code"
          },
          "response": []
        },
        {
          "name": "Update Group Participants",
          "request": {
            "method": "POST",
            "header": [
              { "key": "token", "value": "{{token}}" },
              { "key": "Content-Type", "value": "application/json" }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"GroupJID\": \"120362023605733675@g.us\",\n  \"Action\": \"add\",\n  \"Phone\": [\"5491155553934@s.whatsapp.net\", \"5491155553935@s.whatsapp.net\"]\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/group/updateparticipants",
              "host": ["{{baseUrl}}"],
              "path": ["group", "updateparticipants"]
            },
            "description": "Add, remove, promote or demote participants from a group. Action can be 'add', 'remove', 'promote','demote'."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Newsletter",
      "item": [
        {
          "name": "List Newsletters",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "token",
                "value": "{{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/newsletter/list",
              "host": ["{{baseUrl}}"],
              "path": ["newsletter", "list"]
            },
            "description": "List newsletters"
          },
          "response": []
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "http://localhost:8080"
    },
    {
      "key": "token",
      "value": "your_token_here"
    },
    {
      "key": "admin_token",
      "value": "admin_token_here"
    }
  ]
}
