Servio

E-Chat Setup

1. Obtaining the Public HMS Service Address

The first step is to obtain a public address for HMS Service. This can be done in one of the following ways:

  • through Cloudflare. Depending on where the server is hosted, you will need to contact either our system administrator or the client's system administrator;
  • by opening the required port on the router.

Note: the local service address is stored in the appsettings.json file.

image (8).png

2. Checking Webhook Availability

After obtaining the public address, you need to verify that it is accessible.

Open a browser and go to:

https://your_public_address/api/echat/webhook

If the browser returns a JSON response, the service is working correctly.

Webhook11.png

3. Configuring Webhooks in the E-Chat Account

  1. Sign in to your E-Chat account.
  2. Click "Connect Number".
  3. Enter the phone number.
  4. Select the required messenger and choose the "API" integration.
  5. Click "Add Number".
image (9).png

After adding the number, open the "Integrations" tab and go to the Webhook settings.

image (10).png

Complete the fields as follows:

INCOMING: webhook URL for incoming messages

https://your_public_address/api/echat/webhook/incoming

OUTGOING: webhook URL for sent message status updates

https://your_public_address/api/echat/webhook/outgoing-status
image (11).png

4. Configuring HMS

Sign in to HMS and go to:

CRM -> Communication Types -> E-Chat Accounts

Click "Add" and complete the required fields.

In the "API Key" field, enter the corresponding key from your E-Chat account.

Save the record.

image (12).png
image (13).png

5. Testing the Integration

After successfully adding the account:

  1. Send a test message.
  2. Make sure the message is processed correctly by the system.

If the message is sent successfully and appears in the system, the setup has been completed correctly.

Was this article helpful?

Share it with colleagues who might need it

Connect messengers to your CRM

Message clients first right from the client card and keep all conversations in your CRM. 7-day free trial, up to 40% off when connecting several numbers.

Read also

Local version Bitrix24

Apix-Drive

Connecting Viber number to Apix-Drive

AmoCRM

Connecting Viber number to amoCRM