500 http code and response text "Unexpected 'I'" received
I am looking to consume your rest api but it is returning a http 500 error code and response text Unexpected 'I' received, I basically wanted to retrieve all organizations by using the following CURL statement curl -X GET \ 'https://desk.zoho.com/api/v1/tickets?include=contacts' \ -H 'Authorization: Zoho-authtoken 4328511e9f9f3e2603cca68e3a7f897c' \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: a75ff3d0-92a0-4b7c-86b1-1e234ab38952'
Get direct link to contact using API
Hi, we are using the Zoho Desk API. We are able to search for contacts, and list their tickets. We can get a direct URL link to a ticket using the 'webUrl' value. Is there a similar value for contacts? We expect an URL like this: https://help.domain.com/support/xxxx/ShowHomePage.do#Contacts/dv/17308f066637888d1f6e953b3008d4fecba4105e3b2fc97b We need toobtain a direct url link to contacts found by the search API. We have used the Contact API but the resulting structure does not contain a 'webUrl'
C# example and authorization
Use case is -- My website allows user to send an email to my support team. I want to require that the user of my website have a valid zoho desk ticket number already in our zoho desk system. So, all I want to do is get one ticket by number. I have not been able to get an authorization token to work (same errors as mentioned here https://help.zoho.com/portal/community/topic/getting-message-invalid-portal-in-response). But it seems I am supported to be using an OauthToken anyway. Can you please provide
How to get organisation id along with auth token for creating tickets using API
I just want to ask that how can i get the organisation id for using desk apis from here https://desk.zoho.com/DeskAPIDocument#Introduction
Creating simple VB.net Win Form app to add Ticket record.
Hi all, Hoping this will help my fellow community members who are working to build VB apps to work with Zoho Desk. I will attach code as I get each portion to work and hoping others will post theirs as well. So, the first thing I was able to do was pop a messagebox confirming my instance likes my consumed ZOHO auth key. The messagebox pops with RESULT=TRUE Form 1 Button Imports System.Net Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
way to read/filter tickets by status, priority, email so on.(fieldName, fieldValue)
I still don't see a way to read/filter tickets by status, priority, email so on.(fieldName, fieldValue) i found this and i need to know if it will search in all fields? https://support.zoho.com/api/v1/search?searchStr=ProUser&from=0&limit=10&sortBy=modifiedTime&module=tickets&orgId=....................&authtoken=.................... This one will search in all parameters. not good for me. Rama.
How to update comment and how to get comment records for existing ticket ?
Hello, how to update or get single comment for ticket. https://support.zoho.com/api/xml/comments/updatecomments?authtoken=#AUTHTOKEN&xml=#XMLData&portal=#PORTAL&department=#DEPARTMENT&id=CASEID https://support.zoho.com/api/json/comments/getcommentsbyid?authtoken=#AUTHTOKEN&portal=#PORTAL&department=#DEPARTMENT&id=CASEID api response : {"response":{"error":{"code":"1001","message":"Unable to process your request. Please verify whether you have entered proper method name,parameter and parameter values."}}}
API to retrieve support tickets
Good morning, We are looking at using the Zoho Desk. We have a backend system that we use for all accounting & client billing. I know that I can export data out of Zoho Desk however that's a manual process and I'm looking for an automated one. Are there any web api's that we can access to extract data? I'm really only interested in the Zoho Desk ticket number, ticket description and company name. Thanks a bunch. --- Val
Adding a thread to an existing ticket
Hi, I've seen this thread (https://help.zoho.com/portal/community/topic/api-question-adding-a-thread-to-an-existing-ticket) about adding a thread to an existing ticket. However, that seems to be with an old api, while the new REST api doesn't support this anymore. Is that correct, or is there a method to do this? Also, is there a way to set the channel of a thread to anything else than e-mail? Like a custom channel? Kinf Regards, Jeroen
How to update comment and how to get comment records for existing ticket ?
Hello, how to update or get single comment for ticket. https://support.zoho.com/api/xml/comments/updatecomments?authtoken=#AUTHTOKEN&xml=#XMLData&portal=#PORTAL&department=#DEPARTMENT&id=CASEID https://support.zoho.com/api/json/comments/getcommentsbyid?authtoken=#AUTHTOKEN&portal=#PORTAL&department=#DEPARTMENT&id=CASEID api response : {"response":{"error":{"code":"1001","message":"Unable to process your request. Please verify whether you have entered proper method name,parameter and parameter values."}}}
error while creating tasks
the workflow is 1. create ticket 2. create a comment 3. create a series of tasks it is able to create the ticket, create the comment, but when it comes to creating the task, it returns 403 with errormessage "The OAuth Token does not contain the scope to perform this operation." The oauth token requests scope "Desk.tasks.ALL" which is what is confusing me about the error. however i did notice that the oauth authorization page says the line "Read Create Update and Delete tasks in Zoho Connect" so i
Performance Enhancements to Search APIs
We recently detected a few performance issues that were caused by the inclusion of inessential information in responses to search APIs. In particular, ticket search APIs returned not only the custom fields in a ticket, but also the ones related to the contact in the ticket. Similarly, contact search APIs returned not only the custom fields related to a contact, but also the ones related to the account associated. This inclusion of non-vital information led to performance issues in tools that employed
Bypassing OAuth2
Is it possible to get access token without OAuth process when our connected app is embedded as widget or webtab?
What exactly updates the modifiedTime key?
Do any changes to the ticket (including automatic updates, api calls, ticket status changes, replies, and comments) update the "modifiedTime" value or only when an agent opens the edit menu and saves it (with the screen pulled up via the "e" key shortcut)?
Contact address API
Hello, How do we pass the whole address in Zoho Desk Contact module via API ? Thanks for your help. Best Regards, Thierry C.
Get ticket by number returns empty
Hello , As said in the subject, I try to get a ticket by entering its number in parameters. Everything goes well but Postman tells me that there is no content (204 - No Content). Bug or Help ? s/shot attached. Best Regards, Thierry C.
Enhancements to the Get All Departments and List All Agents APIs
We recently observed some performance issues in the Get all departments API. Our root cause analysis revealed that these issues were caused by the inclusion of the associatedAgentIds key in the API response. To eliminate this performance issue, we have decided to deprecate this key from the API response. However, this change does not affect the Get a department API. So, as an alternative, you can get the associatedAgentIds key through the response to this API. Besides, we have also enhanced the Get
API Help
I am trying to use the Zoho Desk API and I have a couple of questions: 1 ) Does the token that I generate by clicking here (https://accounts.zoho.com/apiauthtoken/create?SCOPE=ZohoSupport/supportapi,ZohoSearch/SearchAPI) expire. if so, how would I generate again the token programatically, I have not been able to do it. 2) I am able to query all contacts or tickets; however, I have not been able to create one using the API calls you provide. Is it because I only have READ scope. if so, how would i
Make ListTickets API More Robust With Field Filtering
Specifically I'd like to be able to fetch tickets that have an assigned due date and are open (ideally sorted by due date). This would allow me to track tickets that are due, generate customized reporting, and send notifications through a variety of channels. But being able to filter based on any arbitrary field in the schema would be incredible. (Have you considered GraphQL?)
Updates to Threads APIs and the List All Attachments API
At Zoho Desk, we believe that convenience and consistency are key factors in delivering a good user experience, be it for the end-users of Zoho Desk or the developers who build upon Desk's features and functionalities. As an extension of this belief, we have now updated a payload parameter pertaining to the APIs for ticket threads and a query parameter pertaining to a ticket attachments API. Here is more information on these two updates: 1. Replacing uploads with attachmentIds in Threads APIs Currently,
Webhook Support in Zoho Desk API
It will be very useful if you can provide a webhook URL as soon as I receive a ticket on Zoho Desk. This will help us to decrease response time to our customers. Thanks
Upload an Attachment to a Customer Record (Not a Ticket)
We are migrating from another system and ran into a roadblock. We need to copy customer context notes and attachments from the old system to customer records in the new. We know how to use the API to add attachments to Zoho Desk tickets, but have been unable to see a means to add Attachments to Zoho Desk "Contacts." Is the API capable of this, or can it be updated to include this function?
Deleted Contact returns 200 status, allows creating a ticket, shows "NULL" in ZohoDesk for contact
Hi Team, We have noticed a bug in the API with regards to contacts that have been deleted. If a contact is deleted via ZohoDesk, the API still returns them as existing when querying directly on the contact ID via the API. (request returns a 200 status and the contact object with no indication that it has been deleted) The API then allows for the creation of a ticket with the contactId specified as that deleted contact. Within Zoho desk, the ticket shows as existing, though the contact has some complete
Remote Authentication for Support Desk - Script receiving 400
Currently trying to get this working from a development environment, redirecting to that URL from a different URL than the one provided in our Remote Login URL. Script that is running: > $ts = round(microtime(true) * 1000); > > $email = $this->getUser()->getEmail(); > > $remoteauthkey = ''* removed> >$fullname = $this->getUser()->getUser()->getName(); > > $loginstripped = preg_replace('/[^a-z\d]+/i', '_', $fullname); > $loginname = mb_strimwidth( $loginstripped, 0, 9).$this->getUser()->getUser()->getId();
Is there a PHP sample?
Of the Remote Authentication sign-up and sign-in scripts? Just seems like something that would be helpful as a resource
Zoho Desk API Get Support Rep Tickets
What would the api url be for getting a list of tickets for a support rep. I have the support reps email address. This is the url I am currently using https://support.specializeddata.com/api/xml/requests/getrecordsbysearch?authtoken=???????????????????????????????&portal=portalname&department=departmentname&selectfields=Requests(status,subject,Case Owner,billable,priority,Request Id)&searchfield=email&searchvalue=" + User.Identity.Name
Deleted Contact returns 200 status, allows creating a ticket, shows "NULL" in ZohoDesk for contact
Hi Team, We have noticed a bug in the API with regards to contacts that have been deleted. If a contact is deleted via ZohoDesk, the API still returns them as existing when querying directly on the contact ID via the API. (request returns a 200 status and the contact object with no indication that it has been deleted) The API then allows for the creation of a ticket with the contactId specified as that deleted contact. Within Zoho desk, the ticket shows as existing, though the contact has some complete
Desk API - custom field text area field size limit?
When creating a ticket I can add data to a custom field on the form, however that same information can not be added via the api. The description field can take the data via the api. I used this same data and it gave the following error. {"message":"Invalid Value For Param Internal Comments"} It seems that after 100 char it returns this error. Regards, Glenn
API Zoho Desk - Limit in 100 with a field of 255
Hello, we are working with Zoho Desk API and we have a customField named "RMN error" Text of 255. When we update it via web, in the Ticket interface, goes well, but, when we do by the API with PATCH method like this: https://desk.zoho.com/api/v1/tickets/95717000002213003?authtoken=XXXXXXXXXXXXXXXXXXXXXXXXXX&orgId=XXXXXXX { "ticketNumber": "971", "customFields": { "RMN": "RMN with errors", "RMN Navision": null, "RMN error": "NAV account number of Salto Systems HQ must end with -HQ.
Api search via #123 ticket number rather than id
Hi is it possible to search for a ticket via the #123 ticket number rather than the i.d number.
In Zoho Desk using API calls is there an easy way to query the total number of tickets?
If I knew the total number of tickets, I could keep looping, retrieving records till I reach that limit. Or, What would be the most efficient way to loop though making multiple record requests until you have retrieved all of the tickets in the database? Thanks,
Zoho Desk API Help
Does anyone know of a company that can help us with a fairly simple migration of xml data formatted tickets from one CRM into Zoho Desk? The export is coming from CRMDesk.com and we wrote that export tool.
More Descriptive Error Reporting
I was using the API to create tasks and received a 500 error when i mistakenly used the zuid instead of the id in the owner field. This was not very descriptive and took me a little bit of testing to figure out which field was the problem. would it be possible some more descriptive responses when things fail like this? Thank you!
Direct Link to a ticket
I am trying to find out how to create a link that will take me directly to a ticket specified in the link. Can you let me know how to achieve this please.
API problems
Hi guys, I'm having a problem with the API trying to create a ticket. I'm just getting the response array(1) { ["message"]=> string(35) "Error while processing your request" } array(26) { ["url"]=> string(36) "https://desk.zoho.com/api/v1/tickets" ["content_type"]=> string(30) "application/json;charset=UTF-8" ["http_code"]=> int(500) ... } which doesn't shed much light on what the problem is. I have tried running a post request on the same url (https://desk.zoho.com/api/v1/tickets) from a request
Get CRM ID from Desk Contact with API
Hello, i have over 7.000 Contacts in CRM. This Contacts are Pushed in Zoho Desk every hour via the Intergration. I have a custom Mudule in CRM with Contacs linked in it. now i must create Tickets over the API with these in CRM stored Data in Zoho Desk, with the Zoho Creator. My Problem now is, that i cant link the CRM Contacts with the Support Contacts with an ID. In Reports i see the field "CRM ID" in Zoho Desk Contacts, but i cant get this over an API Call. what i get if i seach in the Desk API
Phonebridge for Asterisk 13
Why is phonebridge so old, it says it's for Asterisk 1.4 but I have seen on this forum that you say it works with asterisk 11, will this work with Asterisk 13 ? Thanks,
ZohoDesk API [from limit] ERROR.
I am an autor of this ruby lib(gem): https://github.com/chaky222/zoho_service I found bug in your api: If from from>0, from must be more by one. Here: https://github.com/chaky222/zoho_service/blob/master/lib/zoho_service/api_collection.rb in line 24 here you can see my fix for this bug: query[:from] += 1 if query[:from] > 0 # WTF bug with from-limit on zoho server! Get tickets without my fix (look at id=2580000000046037): url=[https://desk.zoho.eu/api/v1/tickets?departmentId=2580000000007061&from=0&limit=5&sortBy=createdTime]
Contact Search API
Hi, We used to retrive contacts in Zoho Desk portal using the below API request. But now it returns nothing, and shows an error code 4832. Below is the request : https://desk.zoho.com/api/json/Contacts/getrecordsbysearch?authtoken=<>&portal=<>&department=<>&searchfield=Phone&searchvalue=<> Now we are trying to use the new API request as per your docs. ie https://desk.zoho.com/api/v1/search?searchStr=<Phone Number> This request doesnt return the contact with no ticket. Can you help us with Contact
No customFields in GET "List tasks by ticket"
Hello, i use the New Zoho Desk API to get all Tasks from one Ticket. https://desk.zoho.com/DeskAPIDocument#Tasks#Tasks_Listtasksbyticket There was a Response example: {
"data" : [ {
"modifiedTime" : "2016-07-14T08:22:16.000Z",
"customFields" : {
},
"subject" : "New Testing Task",
"departmentId" : "3000000007043",
"dueDate" : "2016-07-21T16:16:16.000Z",
"creatorId" : "3000000008692",
"description" : null,
"ownerId" : null,
"priority" : "Normal",
"createdTime"
Next Page