Preprocessing handler for integration with amoCRM

Despite the fact that the amoCRM API (www.amocrm.ru) is fairly simple to use, to integrate the Netrox SC online consultant with this CRM we suggest that you use the preprocessing handler described here. This is associated with the limited user session time when accessed through the API and the lack of ability to authorize in the same request with the main data transfer.

Usage

Handler URL: https://c.netrox.sc/transfer/amocrm

When setting up integration in the Website -- Integration section of the Netrox SC interface, specify the address of this handler instead of the handler address in the amoCRM API.

Data should be sent using the Http POST method

Input parameters

The list of mandatory input parameters:

NameDescription
AmoID Your organization's account identifier within amoCRM. The first part of the address you open in your browser to access the CRM interface. For instance, if the address is somename.amocrm.ru, the identifier will be somename.
You can also find out this identifier in the CRM interface. To do that, proceed to Settings -- General Settings and take the value from the Address field.
HandlerURI URI of the amoCRM API handler the data is planned to send to. For instance, /private/api/v2/json/contacts/set
Login The amoCRM user login whose name is to be used to send the data
UserHash The API key. To obtain the key, proceed to Settings -- API of the amoCRM interface. Copy the value from the Your API key field
JsonRequest Body of request to the amoCRM API handler. This system accepts API requests in JSON format
Method API request method. Permissible values are POST and GET (upper register)
Note that you can use the Netrox SC system variables in all fields. For instance, you can keep the amoCRM authorization data in the operator's additional fields.

Response

The preprocessing handler conveys the response intact. If incorrect data is sent out, the preprocessing handler will return a response in JSON format, containing the error information.


All rights reserved. Copyright © 2020 Netrox SC
Host CMS