You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-18 09:51:28 +02:00
1.5 KiB
Vendored
1.5 KiB
Vendored
id, sidebar_class_name, keywords
| id | sidebar_class_name | keywords | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GreenAPI | GreenAPI |
|
<img src={require('../../static/img/APIs/GreenAPI.png').default} width='64px' />
WhatsApp (GreenAPI)
import LibraryIntro from '@site/src/components/LibraryIntro';
This section covers the library for working with WhatsApp via Green API in 1С:Enterprise, OneScript, and CLI. This page describes all the steps required to get started.
Getting Started
- Go to the Green API Personal Account and complete the registration process
- Navigate to the instance list and create a new instance
- Select the new instance and link it to your WhatsApp account via QR code or phone number
- Save the instance credentials. To work with the library, you need
apiUrl,mediaUrl,idInstance, andapiTokenInstance
The obtained data must be passed to the FormAccessParameters function. The resulting structure will be used for authorization in all other GreenAPI functions.
ApiUrl = "https://7105.api.greenapi.com";
MediaUrl = "https://7105.media.greenapi.com";
IdInstance = "71051...";
ApiTokenInstance = "425010d90e114aa6b78f0969e...";
Result = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);