API V2 filter module by id > X
Hi guys, I'm working on switching from API V1 to V2 and I can't figure out how to filter by id greater than Y and some field greater than X. I have this URL I'm calling: https://www.zohoapis.com/crm/v2/Potentials Found this: https://www.zoho.com/crm/help/api/v2/#ra-search-records But it seems to be comparing fields as strings. Tried: https://www.zohoapis.com/crm/v2/Potentials?criteria=((id:starts_with:1337533000014326017)) But it's still returning the id I give as a parameter and not doing an operation
Zoho Creator API no longer accepting POST requests to update data
Hello, I'm attempting to make an HTTP POST to a form which was working previously however over the last few weeks it would appear that things have stopped working. We don't entirely know why, so I'm curious to know if something has changed on the server side that is causing the update requests to get rejected. Here is my request POST https://creator.zoho.com/api/escarpmentlabs/xml/db/form/Orders/record/update BODY (Copied from Bulk Editor from Postman) criteria:Order_Number=203328 Notes:What is going
Enterprise API limits
Hello! I am using API v2.0 and have bought enterprise pricing with 500k credits/month according to the documentation. But yesterday my requests were banned. And today, I still have TOO_MANY_REQUESTS response. API credits usage page says that 36000\23000 credits were used. But why limit is 23k instead of 500k? More than 12h were passed, and I still have this ban, when will it end?
Inserting Records into Zoho causes Fatal Error
hey there, I've been hitting a wall for the past 2 days on this and finally reaching out for some support. I'm using the PHP SDK and attempting to Insert a Specific Record into the Contacts Module. I get a PHP Fatal Error: [24-Feb-2019 22:29:49 UTC] PHP Fatal error: Uncaught Error: Call to a member function getEntityId() on array in /app/public/wp-content/plugins/nano-wc-zoho-integration/vendor/zohocrm/php-sdk/src/com/zoho/crm/library/api/handler/MassEntityAPIHandler.php:34 Stack trace: #0 /app/public/wp-content/plugins/nano-wc-zoho-integration/vendor/zohocrm/php-sdk/src/com/zoho/crm/library/crud/ZCRMModule.php(952):
Web form to Leads - approval mode not working with API 2.0
New lead entries on our web form are entered in the CRM Leads module via WordPress plugins. With the prior API, there was an option to have leads held for approval. With the new API, this is no longer an option and entries go directly to the Leads module. This is a problem, as all entries need to be reviewed and approved. Help!
Zoho Webhooks IP range for whitelist
Hello, We are using webhooks for send custom GET query's to our API's to implement our business process. For security policies its a must for us to create a white list of webhooks servers IP from EU. Please could you send us this range of IP. Kind regards
Zoho CRM API V2 to update values of Fields in Custom Module
We are trying to implement API v2 in our code, using this we are trying to update client's data.Here we are facing issue like in JSON Object i passes all the name of the Fields wrong then also it is displaying Successfully updated the records. The API should validate name of the fields of each module. There should be some way to identify that the field's name which we passed in JSON are not Correct. Please give your suggestion on this.
python login no longer working
I have been using the python zcrmsdk module over the last few weeks to access our Zoho data, however since last Friday, the exact same login function I had created no longer works. Have tried deciphering the error message but am not having any luck. Running the following code I get errors: from zoho_functions import * # To create an authentication key go to the following website: # https://accounts.zoho.com/developerconsole # click on triple dots, and then self-client # paste the following scope:
Get all Accounts and their associated Contacts via PHP SDK
I need to build an array of all the Accounts and all Contacts associated with each Account. I am struggling to find a way to make this happen with API v2. I am using the PHP SDK.
Problem 4600. <code>4600</code> <message>Unable to process your request. Please verify if the name and value is appropriate for the "scope" parameter.</message> </error>
Hello everyone! Can you help me with my API call? I can't understand what is wrong with it. I am updating CRM contacts record using the following url: https://crm.zoho.com/crm/private/xml/Contacts/updateRecords?authtoken=MyToken&scope=crmapi &newFormat=1&id=3421207000000728070&xmlData=<Contacts><row no="1"><fieldlabel value="First Name"><![CDATA[Nick]]></fieldlabel></row></Contacts> But I am getting the following error message everytime: <response uri="/crm/private/xml/Contacts/updateRecords">
Why are we being asked to migrate API's from 1.0 to 2.0
A client of mine received an email from Zoho them to migrate their API's from 1.0 to 2.0 for ZohoCRM. The thing is they do not have any custom API's. They do not integrate ZohoCRM with any other services or their website. They use ZohoCRM standalone. They never had to make any custom API's when they originally set it up. What exactly is Zoho asking them. Does this migration only apply to those customers of ZohoCRM that link it to other platforms and services or are all ZohoCRM customers required
get an error when trying to get token
when i trying to get an token. can any one help in this situation? https://accounts.zoho.com/apiauthtoken/nb/create?SCOPE=ZohoCRM/crmapi&EMAIL_ID=kevin.******@aipxperts.com&PASSWORD=AvhF9YCpY7yI&DISPALY_NAME=mynodeapp
Sales Orders Deluge
I need to create a Sales Order in CRM from Creator and I need to know the fields to populate and how to structure the Product information when there ware multiple product lines for a Sales Order. I know the basic is: response = zoho.crm.create("Sales_Orders", mapped_fields); It's those mapped_fields that I need the structure for to correctly populate and create the record in CRM Sales Orders.
Can't upload Attachment through API
Hi. I'm trying to upload attachments to my contacts in zoho CRM through API. I use a form where the user can upload files an I use this curl code to put that attachment to zoho: $curlFiles = curl_init(); curl_setopt($curlFiles, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curlFiles, CURLOPT_URL, 'https://www.zohoapis.eu/crm/v2/contacts/' . $recordId . '/Attachments'); curl_setopt($curlFiles, CURLOPT_HTTPHEADER, array('Authorization: Zoho-oauthtoken ' . $accessToken)); curl_setopt($curlFiles, CURLOPT_POSTFIELDS,
Zoho Api rejects leads with .cookie in the email address.
Why does the api not allow a lead with '.cookie' in the email? We have a user whose last name is cookie and when we try to sync the lead into zoho the request fails with "{\"response\":{\"error\":{\"message\""Unable to process your request. Please verify if the name and value is appropriate for the \\\"searchValue\\\" parameter.\",\"code\""4600\"}}}\n" Both search and post requests to create fail for the email which is valid.
How to correctly specify duplicate_check_fields via API
Hi, I have some code setup which is inserting a new Contact into ZohoCRM via a website enquiry form. This all works perfecltly fine using the below structure. I'm using this API end-point: https://www.zohoapis.eu/crm/v2/Contacts/upsert $data['data'] = [ [ "First_Name" => ''.$customer['field_0'].'', "Last_Name" => ''.$customer['field_1'].'', "Email" => ''.$customer['field_3'].'', "Phone" => ''.$customer['field_2'].'', "Mobile" => ''.$customer['field_2'].'', "Lead_Source" => ''.$lead_source.'', "Owner"
PHP-SDK Delete Records Example
Greetings, I am using the API 2.0 with the PHP-SDK. I have figured out how to Upsert & Update Records thansk to the help of other members of the forum and zoho support. Now I am trying to figure out how to mass delete records. Bascially cleanup my mistakes :) I see a deleteRecords function but I can't figure out how to pass an array or entity ID's to this function. If anyone else has any help or can point me in the right direction. Thanks, Josh My Code, I am just pasting the pertinent parts, please
Can't add twilio phone #
I am only able to sel;ect one of my twilio phone #s for incoming calls even though there are three numbers in my twilio acct. Any idea why this would be?
STUCK on Step 3: Generate Access Token and Refresh Token
Hi support team, I'm able to get the code variable from step 2. Using: https://accounts.zoho.com/oauth/v2/auth?scope=ZohoCRM.users.ALL&client_id={client_id} &response_type=code&access_type={"offline"or"online"}&redirect_uri={redirect_uri} But no matter what I do, I got an error when I try to do a post request to the url on The step 3 of the developer guide, https://accounts.zoho.com/oauth/v2/token?code={grant_token}&redirect_uri={redirect_uri}&client_id={client_id}&client_secret={client_secret}&grant_type=authorization_code
4834Invalid Ticket Id
I am getting 4834Invalid Ticket Id error when i am inserting new record in contact module by php My PHP code is - <?php $email="vineet@mailinator.com"; $lastname="shirdhonkar"; $xml = '<?xml version="1.0" encoding="UTF-8"?> <Contacts> <row no="1"> <FL val="Email">' .$email. '</FL> <FL val="Last Name">' .$lastname. '</FL> </row> </Contacts>'; $auth="*********************"; $url ='https://crm.zoho.com/crm/private/xml/Contacts/insertRecords'; $query="authtoken=".$auth."&scope=crmapi&newFormat=1&xmlData=".$xml;
Using API to push Formidable Form entries to Zoho CRM (API documentation
is not viewable)
Trying to integrate Formidable Forms (on WordPress) with Zoho CRM to add a "Lead" every time the form is completed. This should be relatively simple, since Formidable has an API plugin that asks for just a few bits of information. These are: Notification URL (from Zoho - to include AuthToken) Username/Password (basic authentication) Key/Value Pairs UPDATE: Screen shot of input required added to this post. Here's the problem - I can't find the documentation on the Zoho side to retrieve any of this
Filter records based on modified date with API v2
Hello! How do I filter records based on modified date criteria with API v2? With API V1 i use this URL Format: https://crm.zoho.com/crm/private/xml/Quotes/getRecords?newFormat=1&authtoken=xxxxxxx&scope=crmapi&lastModifiedTime=2018-03-27 00:00:00 Thanks in advance
Job list search not working
Hello team, I have try to Job Openings module to search key word wise like city wise and category wise to search job . i have use this api url "https://recruit.zoho.com/recruit/private/json/JobOpenings/getSearchRecords?authtoken=bb3d6bc6b2208b3c9a376723a1e65d8b&scope=recruitapi&version=2&newFormat=1&selectColumns=JobOpenings(City)&searchCondition=(City|contains|Mechelen)" to getting result this image bloew. It is not working. And i have check to help desk "https://help.zoho.com/portal/community/topic/zoho-crm-api-method-getsearchrecords-4-2-2012-1"
API V2
Hi guy,ù I've a problem with php sdk for Zoho. I've istalled on Siteground but I receive this error message: Fatal error: require_once(): Failed opening required '' (include_path='.:/usr/local/php56/pear') in /home/redload5/public_html/zoho/vendor/zohocrm/php-sdk/src/com/zoho/crm/library/crud/ZCRMModule.php on line 5 for me it's a mystery, some good-hearted person can melp me to solve?
How to Search Sales Order By Quote Id
How to get a Sales order Detail by Quote Id in Zoho CRM Api V2.0 Please help
Insert record with a different Owner
I am trying to add Calls to the CRM using the API 2.0 and PHP I am retrieving call CDR records from our phone system, and I want to insert them into the Calls module, but with the 'Owner' being the relevent user. I have tried the following: $user = ZCRMOrganization::getInstance()->getUser($userId); //Confirm we have the user object print_r($user); //Create empty call instance $callInstance = ZCRMRecord::getInstance("Calls",null); //Other code in here //Set the owner $callInstance->setOwner($user);
CRM API V2.0 Java SDK - Unable to Search a Record After Creating it.
We have a situation where we have created a new record in Accounts Module. In the same Java app if we try to search for it using the name criteria the API returns nothing. We go to the CRM and we see this new Accounts record. Following is the code snippet: ZCRMRecord neworg = new ZCRMRecord("Accounts"); neworg.setFieldValue("Account_Name", "New Account"); orgresp = neworg.create(); The above code is successful. After some lines of code we try to search for the "New Account" record: searchCriteria
Bad Request 400
Hello Zoho, When I am posting the request to your server from the API (Records APIs -- > Single Records APIs -- > Insert specific record) to insert the Leads I am getting Bad Request error. I don’t understand why this happened. Previously I am posting the request for the Access Token and its response is correct but when I called the APIs to insert the Leads using generated Access Token I am getting the Bad Request Error. Here is my code in c# to post the request. To Get Access Token //https://accounts.zoho.com/oauth/v2/token?refresh_token={refresh_token}&client_id={client_id}&client_secret={client_secret}&grant_type=refresh_token
idlist in API V2 Possible?
is it possible to get record with idlist in ZOHO CRM API V2
Getting an 202 status code when trying to create an Account with a URL field
I am using Zoho CRM v2 API for developments. What is the data type that should be passed for the URL field? In my implementation im passing a String value but when creating the entity (Account) im getting a HTTP 202 status response along with this error : INFO [http-nio-9090-exec-2] com.zoho.crm.library.exception.ZCRMLogger ZCRM - STATUS_CODE = 202 , RESPONSE_JSON = {"data":[{"code":"INVALID_DATA","details":{"expected_data_type":"website","api_name":"URL"},"message":"invalid data","status":"error"}]}
How can I have "upcoming" criteria in searchRecords API?
It is in need to get records that has upcoming dates. I couldn't find any options for specifying conditions like 'greater than' or 'less than' in search records api. So, How could I specify such criteria in searchRecords, Could you please help me through this?!
Cannot generate API credentials
Hello, I am trying to register my first application within my zoho account to access the api of the crm, but I am having a hard time doing so. This is what I did: Visiting https://accounts.zoho.eu/developerconsole Logging in Clicking "Add Client ID" Filling in all requested information (Client-Name, Client-Domain, Callback URL, Type: WEB Based) Clicking on "Create" button I see an error message within the formular right above the "Create" button just saying "Error" I used the following information:
Zoho crm rest api to get logged in email address using access token
Hi, We are calling rest API and we got access token. We were trying to get logged in user email address using accesstoken. We got this rest api "https://www.zohoapis.com/crm/v2/settings/profiles" from ZohoCRM doc in response user logged in email address is not there. Which api will give this information. Reply ASAP.
Non-static method ZCRMConfigUtil::setConfigValues()
When I call ZCRMRestClient::initialize($config) using the PHP SDK I get: Non-static method ZCRMConfigUtil::setConfigValues() should not be called statically in vendor/zohocrm/php-sdk/src/com/zoho/crm/library/common/ZCRMConfigUtil.php My code is: $config = [ 'client_id' => $clientId, 'client_secret' => $clientSecret, 'redirect_uri' => $redirectUri, 'currentUserEmail' => $currentUserEmail, 'accounts_url' => 'https://account.zoho.com', 'token_persistence_path' => 'zcrm_oauthtokens.txt', 'applicationLogFilePath'
Save your seat for Zoho CRM's Java SDK webinar!
Hello folks, We've decided to start a biweekly webinar series for developers which will cover many broad topics in rotation. To start with, we'll be having a webinar on Java SDKs during which attendees will be shown how to sync data between Java based business applications and Zoho CRM. The demo will be followed by an interactive Q&A session on how to use Java SDK to write business logics in CRM. The first session is happening on 31st October, 3.30 pm IST, and we'd love for you all to join! We'll
Failing to Upload an Attachment from Google App Script to Zoho CRM
Hi, I have been generally able to navigate the API without issue, but I cannot get a file that is in the form of a blob, to attach to the Account record. I am new to programming over web APIs, so I haven't yet figured out a way to capture the corresponding HTTP POST request and response so I am flying a bit blind. Would welcome any ideas on what is going wrong. When I execute the code against a good recordId for an account, I receive the following response: {code=INVALID_REQUEST, details={},
Issue with searchRecords method
Hello, I want to search a freshly created record based on a criteria named "SIRET". The SIRET custom field datatype is "single line". Here is the URL of my request: https://crm.zoho.com/crm/private/json/Accounts/searchRecords?authtoken=AUTH_TOKEN&scope=crmapi&criteria=(SIRET:123) The record that I previously created is well an account and has a SIRET value of "123". But yet, when I request the API with that URL, all I get is an error 4422 telling me that there is no data found. Here is the actual
Error httpStatusCode: 302
I tried to get Contact records: ZCRMRestClient::initialize(); $zcrmModuleIns = ZCRMModule::getInstance("Contacts"); $bulkAPIResponse=$zcrmModuleIns->getRecords(); $recordsArray = $bulkAPIResponse->getData(); but I get this error: Uncaught ZCRMException Caused by:'Unknown ZCRMException' httpStatusCode: 302
API v1 uploadFile - docx/pdf files cannot be uploaded
Until now there have been no problems uploading docx files with the v1 API of Zoho CRM, but today I noticed that when trying to upload a file with docx contents, the upload fails with this message: Unable to process your request. Please verify whether you have entered proper method name,parameter and parameter values. By the way I've tried changing the extension to .jpg, and I got the same failure. However, uploading an original jpg works fine, and even when changing the original jpg's extension
Can a contact form submit data as lead to ZohoCRM?
Using the API, can we have a contact form on our website, that when submitted, sends the data to ZohoCRM to be saved as a lead? We plan to manage our contact lists via Zoho and integrate with Mailchinmp or Constant Contact. Any suggestions or info would be greatly appreciated. Thanks!
Next Page