External CRM Integration
Syncing a lead to CRM
This page introduces the Lead syncing capabilities of QuickReply.ai with integration to External CRMs having open API/ Webhook infrastructure Whether you're looking to sync Leads to the CRM or send messages from QuickReply.ai via Lead updates within the CRM, by leveraging this integration, you ensure that your data is properly synced in both systems with a bi-directional syncing approach to create seamless workflows.
Pre-requisites
Active QuickReply.ai account with WhatsApp enabled
Active CRM account with Lead Create/ Update/ Fetch API capabilities
Creating a new Lead - CRM API
POST
https://yourdomain.com/crm/create
Headers
Auth-Key*
Authorization Header
This is used to authorize the API requests.
Request Body
phone*
string
Phone Number of the user (With Country Code)
name*
string
Full Name of the user
string
Email of the user
custom_fields
Key-Value Pairs
Extra Attributes which you want to sync to the CRM, where the key-names are the respective schema field names in the CRM
Fields marked with * are Required.
API Response
Sample cURL request
Fetching an Existing Lead - CRM API
GET
https://yourdomain.com/crm/fetch
Headers
Auth-Key*
Authorization Header
This is used to authorize the API requests.
Request Body
phone*
string
To fetch the Lead data using Phone Number (with country code)
email*
string
To fetch the Lead data using Email
lead_id
string
To fetch the Lead data using Lead ID
Fields marked with * are Required.
API Response
Sample cURL Request
Updating an Existing Lead - CRM API
POST/PUT
https://yourdomain.com/crm/update/{{lead_id}}
Headers
Auth-Key*
Authorization Header
This is used to authorize the API requests.
Query Parameters
lead_id*
string
Respective Lead ID in the CRM (The same as returned in response from Fetch Lead API)
Request Body
phone*
string
Phone Number of the user (With Country Code)
name*
string
Full Name of the user
string
Email of the user
custom_fields
Key-Value Pairs
Extra Attributes which you want to sync to the CRM, where the key-names are the respective schema field names in the CRM
Fields marked with * are Required.
API Response
Sample cURL Request
Last updated