Skip to main content

tuna and WebAsk

Step 1. Download the client​

Instructions are available on the installation page.

Step 2. Run a server to handle events from WebAsk​

Information about the structure of incoming requests can be found in the official documentation.

Step 3. Run tuna​

Specify your server port in the startup arguments:

tuna http 8080

Or with a static address:

tuna http 8080 --subdomain=webask-webhook

Step 4. Create a new Webhook​

Study the instructions for adding a Webhook, as the "Callback URL" value, specify the address received from tuna (for example, https://webask-webhook.ru.tuna.am) and the path to your server's method for processing events (for example, /event).