6

How to Insert New Lead Data in Zoho CRM Through API

While inserting data in Zoho crm account via api call or third party service, you will need three required parameter.

authtoken : It is the encrypted alphanumeric string.
xmlData : This the XML string data which you need to insert in zoho crm
scope : use scope as crmapi

Step 1: To insert new lead data in zoho crm account, first create an XML string as below:

Use this api base url for access it : https://crm.zoho.com/crm/private/xml/Leads/insertRecords/authtoken=*****auth token*****&scope=crmapi&newFormat=1&xmlData=

You May Also Like:

How to Authenticate with D&B Direct API Web Service
How to Add New Product in Bigcommerce via API V2
How to Connect With Cloudshare Rest API
How to Get Opportunity Data from Salesforce Through API in PHP
How to Install Magento Security Patch via Putty

Step 2: Use below code to insert lead data in zoho crm

After complete the steps you will get the success response and new lead data inserted in youe zoho crm account.

Harish

I am professional web developer and blogger. Use this blog to share own api and other web development experience with you. I do accept paid work. Write to me to start working on your dream project - codefixup@gmail.com

6 Comments

  1. You may try adding & symbol in the company name in your sample. ‘company & name’;. It will return 4835Unable to parse XML data ;

  2. $xml .= ”;
    $xml .= ”;
    $xml .= ‘Slide Share’;
    $xml .= ‘company & name’;
    $xml .= ‘first name’;
    $xml .= ‘last name’;
    $xml .= ’email id’;
    $xml .= ‘phone’;
    $xml .= ‘country’;
    $xml .= ”;
    $xml .= ”;

Leave a Reply

Your email address will not be published. Required fields are marked *