[core] Add links to Quick Start

This commit is contained in:
allburov committed 2023-06-25 14:00:51 +07:00
1 parent 2b6028bcb1
commit 953d48ee1f
3 files changed
+10 -7

No files matched your search

@@ -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.
@@ -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:
@@ -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" >}})