1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-23 22:05:15 +02:00
Files
OpenIntegrations/docs/en/md/Instructions/GreenAPI.md
Anton Titovets 3b98a16b2a Revert "Main build (Jenkins)"
This reverts commit 88e773328f.
2025-11-04 20:59:55 +03:00

1.4 KiB
Vendored

id, sidebar_class_name
id sidebar_class_name
GreenAPI GreenAPI

<img src={require('../../static/img/APIs/GreenAPI.png').default} width='64px' />

WhatsApp (GreenAPI)

This section is dedicated to the library for working with WhatsApp via Green API. On this page, all the steps necessary to start working are described

Getting started

  1. Go to Green API console and complete the registration procedure

BF

  1. Go to instances list and create a new one

BF

  1. Select a new instance and link it to your WhatsApp account by QR code or phone number

BF

  1. Save the instance credentials. The apiUrl, mediaUrl, idInstance and apiTokenInstance are required to work with the library

BF

The received data should be passed to the FormAccessParameters function. The resulting structure will be used for authorization in all other functions of work with GreenAPI

    ApiUrl           = "https://7105.api.greenapi.com";
    MediaUrl         = "https://7105.media.greenapi.com";
    IdInstance       = "71051...";
    ApiTokenInstance = "425010d90e114aa6b78f0969e...";

    Result = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);