diff --git a/docs/site/content/en/docs/how-to/receive-messages/index.md b/docs/site/content/en/docs/how-to/receive-messages/index.md index 4184eda4..74fd9e68 100644 --- a/docs/site/content/en/docs/how-to/receive-messages/index.md +++ b/docs/site/content/en/docs/how-to/receive-messages/index.md @@ -8,6 +8,11 @@ draft: false images: [] weight: 120 --- +We consider that you've run docker container and authenticated the session with QR code. + +If you haven't yet - please follow the steps from [**Quick Start →**]({{< relref "/docs/overview/quick-start" >}}). + +## Webhooks You must use [Webhooks]({{< relref "/docs/how-to/webhooks" >}}) to receive messages from WhatsApp to your application. @@ -28,6 +33,8 @@ Start a new session with configured `message` event in webhooks - call `POST /ap } ``` +After that WAHA'll send events (see below) about new messages to an endpoint you provided. + ## Events Here's examples of message-related events. diff --git a/docs/site/content/en/docs/how-to/send-messages/index.md b/docs/site/content/en/docs/how-to/send-messages/index.md index fb373260..0520777b 100644 --- a/docs/site/content/en/docs/how-to/send-messages/index.md +++ b/docs/site/content/en/docs/how-to/send-messages/index.md @@ -8,13 +8,10 @@ draft: false images: [] weight: 110 --- -On your swagger documentation [http://localhost:3000/](http://localhost:3000/) -or in [the example swagger](/swagger) you can find: -1. List of all supported methods - we have not documented all of them on the page -1. Requests JSON schemas -1. Responses JSON schemas -1. **Try it** button - no additional setup to play around with a method +We consider that you've run docker container and authenticated the session with QR code. + +If you haven't yet - please follow the steps from [**Quick Start →**]({{< relref "/docs/overview/quick-start" >}}). ## Fields There are common fields that you can find in almost all requests: diff --git a/docs/site/content/en/docs/overview/quick-start/index.md b/docs/site/content/en/docs/overview/quick-start/index.md index 2adf215b..9da86d3e 100644 --- a/docs/site/content/en/docs/overview/quick-start/index.md +++ b/docs/site/content/en/docs/overview/quick-start/index.md @@ -181,7 +181,6 @@ curl -d "{\"chatId\": \"${PHONE}@c.us\", \"text\": \"Hello from WhatsApp HTTP AP ``` ## What is next? - - Right now you've sent simple text message, but you can send more! [Send messages →]({{< relref "/docs/how-to/send-messages" >}}) - Read how to receive and response to messages [Receive messages →]({{< relref "/docs/how-to/receive-messages" >}}) - Make sure your [API is properly protected ->]({{< relref "/docs/how-to/security" >}})