Содержание

Custom Id

A unique identifier that is set in an external system, such as an external CRM or website. Uniquely identifies the client, therefore it must always be unique.

Each contact in a service must have at least one identifier. The simplest example is email addresses. Custom Id is one of such identifiers, and it cannot change over time, like, for example, email or phone number. If in some system you store a database of contacts, each of which is assigned a unique id, then it is by this id that you can hard link your source to enKod.

The functionality is currently under development, but you can already perform most of the available actions on contacts via Custom Id.

By default, the display of custom id in the interface is disabled. It's made for your convenience and does not affect the ability to work with custom id: they can still be transferred. Displaying custom id in the interface can be enabled via Settings → Account → General Settings. Make sure to click the “Save” button for the changes to be applied.

When you activate the custom id display in the interface, it will appear:

Processing Id

Currently, it is possible to transfer Id to enKod by API using the following methods:

or via manual import of contacts in the enKod interface: Data → Imports → Create import → Manual → Import contacts

You can change id by another id or id by id using the method:

And you can get the id of a contact using the method:

Send API messages to Id:

Id logic

The following rules apply when passing id in contact creation/update requests:

The following rules apply when passing an id in requests to change a contact's id:

In all cases when a contact's ID will be cleared or overwritten, you will be able to find the corresponding event in the card.