Connect Kommo with Replifier
Replifier has no native Kommo integration. You connect it through Zapier or Make, which talk to the public Replifier API with an API key. This guide lists what you can automate and which endpoints are behind each step. Typical use: send the leads and contacts from Kommo to Replifier and tell Kommo when someone unsubscribes or receives a campaign.
Before you start
Section titled “Before you start”- In Replifier, create an API key with only the scopes
contacts.readandcontacts.write. Addwebhooks.manageif you want the instant triggers from Replifier (see below). Copy the key when you create it: it starts withrpf_live_. - Copy the ID of the brand (it starts with
brd_). If you limit the key to one brand, a request for another brand returns 404. - Make sure you can sign in to Zapier or Make and to Kommo.
Connect Replifier in Zapier or Make
Section titled “Connect Replifier in Zapier or Make”The Replifier app asks for the key and the brand ID, and checks them by reading your lists. If you do not see the app in the directory yet, use the generic step instead: Webhooks by Zapier (Custom Request) or the HTTP module in Make, with the base address https://api.replifier.com and the header Authorization: Bearer rpf_live_…. Look for Kommo in the app directory of Zapier or Make and connect your account there.
From Kommo to Replifier
Section titled “From Kommo to Replifier”Use a Kommo trigger as the start and one of these Replifier steps as the action. Two common flows:
- When Kommo reports a new lead or contact, create or update the contact in Replifier and, if you want, subscribe it to a list.
- When a lead changes status, send a custom event such as
kommo.lead_status_changed(a name you choose) to segment by funnel stage.
| Action in Zapier or Make | Replifier endpoint |
|---|---|
| Create contact | POST /v1/brands/{brand}/contacts |
| Find contact | GET /v1/brands/{brand}/contacts/lookup |
| Update contact | PATCH /v1/contacts/{contact} |
| Subscribe to a list | POST /v1/lists/{list}/members |
| Remove from a list | DELETE /v1/lists/{list}/members/{contact} |
| Send a custom event | POST /v1/brands/{brand}/events |
Subscribing a contact to a list is recorded in the consent log as done by the API with your key (source: api). Whoever connects the key vouches that the person gave their consent.
From Replifier to Kommo
Section titled “From Replifier to Kommo”Replifier can notify Zapier or Make the moment something happens, through REST hooks. The Zap or scenario subscribes by itself when you turn it on and unsubscribes when you turn it off. The triggers available today are contact unsubscribed (contact.unsubscribed) and campaign sent (campaign.sent). A typical use:
- When someone unsubscribes in Replifier (
contact.unsubscribed), add a note or change the field on the Kommo lead.
If you need to subscribe by hand, for example from Webhooks by Zapier, call POST /v1/hooks with the event and the address that will receive it. The brandId is required only when the key is not limited to one brand:
curl -X POST https://api.replifier.com/v1/hooks \ -H "Authorization: Bearer $REPLIFIER_API_KEY" \ -H "Content-Type: application/json" \ -d '{"event":"contact.unsubscribed","targetUrl":"https://hooks.zapier.com/…","brandId":"brd_…"}'The response gives the hook ID. Keep it: DELETE /v1/hooks/{hook} unsubscribes it (204).
{ "id": "whk_…", "brandId": "brd_…", "event": "contact.unsubscribed", "targetUrl": "https://hooks.zapier.com/…" }Replifier signs every delivery with the X-Replifier-Signature header. It does not return a signing secret, so treat the address you registered as secret. To build the next steps, GET /v1/hooks/samples/{event} returns a sample payload.
The accepted events are message.sent, message.failed, contact.created, contact.updated, contact.unsubscribed, campaign.started, campaign.sent, campaign.failed, flow.email_sent; WhatsApp: whatsapp.message.received, whatsapp.message.status, whatsapp.template.status; and engagement: message.received, message.delivered, message.read, message.replied, link.clicked, conversion.recorded. Call GET /v1/hooks/samples/{event} to get the exact payload of each one. As an action in your Zap or scenario you can also enroll a contact in an active flow with POST /v1/brands/{brand}/flows/{flow}/enrollments (scope flows.write).
Errors you may see
Section titled “Errors you may see”| Code | When it happens | What to do |
|---|---|---|
| 401 | The key is missing, mistyped or revoked. | Paste the full key again in the connection. |
403 api_key_scope |
The key lacks a needed scope, for example webhooks.manage for hooks. |
Create a new key with the scope and update the connection. |
| 404 | The key is limited to another brand, or the hook belongs to another organization. | Use the key and brand ID of the same brand. |
400 validation_failed |
The address you gave to POST /v1/hooks is not valid or is not public. |
Use the https address that Zapier or Make gives you. |
Done when
Section titled “Done when”A test Zap or scenario creates the contact in the brand from Kommo, and a trigger you turn on shows its sample payload and receives a real delivery.