Ask questions, share tips, and discuss best practices about apps and integrations, App builder, APIs, SDKs, ZAF, and Sunshine
Recently active
I can't search for a field of type checkbox by passing `false`; this throws an "Invalid value" error. On endpoint: POST /api/v2/custom_objects/{custom_object_key}/records/search Example Request:{ "filter":{ "$and": [ {"custom_object_fields.avaliable": {"$eq": false}} ] }}Response:{ "error": { "title": "Unsupported Condition", "message": “Invalid value” }}
Hello, We use zendesk chat in our application using React.js. With the help of a hook like the one below, we add the widget on other pages that we use other than the login page. However, when I look at the developer console, I see that 2 widgets have been added. How can we fix this?Normally 2 scripts were added but we are cleaning this. const useZendeskScript = (user) => { useEffect(() => { if (user && Object.keys(user).length > 0) { const existingScript1 = document.getElementById('ze-snippet'); if (existingScript1) { document.body.removeChild(existingScript1); } const script1 = document.createElement('script'); script1.src = `https://static.zdassets.com/ekr/snippet.js?key=${ systemConfig.zendesk.zendeskSourceKey }`; script1.id = 'ze-snippet'; script1.async = true; script1.onload = async () => { const token = await generateToken(user); const existingScript2
Is there a way for a private app to detect if the current agent UI is in light or dark mode?Can we use Client.get to detect if the current agent is in dark or light mode?Also, is there a way for the app to detect when the display changes from dark to light mode, such as through an event?
Hi, everyone! The current version of the Zendesk SDK does not allow initialisation without an active internet connection. As a result: No popups or views are displayed when a user attempts to open the Zendesk chat while offline. This behaviour differs from the previous version of the Classic SDK, which supported such functionality. We expect the SDK to handle offline scenarios gracefully by displaying a relevant message or popup to inform the user that the chat cannot be accessed without an internet connection.Could you please confirm if this is the intended behaviour in the Unity UPM package version 3.2.0? If so, is there a recommended approach to handle offline scenarios effectively?
Hello. I followed this guide to set up OAuth in my Zendesk app to connect to my own back end. https://developer.zendesk.com/documentation/apps/app-developer-guide/making-api-requests-from-a-zendesk-app/#managing-third-party-oauth-access-tokens I have added this to my manifest.json "parameters": [ { "name": "token", "type": "oauth" }], "oauth": { "client_id": "xxxyyyzzz", "client_secret": "wwwqqqrrr", "authorize_uri": "https://mybackend/oauth2/authorize/", "access_token_uri": "https://mybackend/oauth2/token/", "scope": "read write"} I built my app, packaged with `zcli apps:package` and uploaded to Zendesk. Now when installing the app I see the link "Sign in with my app name". I click this and it takes me through the login flow which completes successfully, and I see a blank page saying: OAuth authentication has been completed successfully. You can close the current browser window and continue with the app installation page. The URL of this page is: https
Hi, I have zendesk Web Widget (Classic) setup on my website since for ever, and since this morning it's showing this error.Method webWidget.helpCenter:setSuggestions does not exist.This is also sometimes stopping my website from loading…What is happening? Is there something I should do?
When revoking an Access Token using the ID of the Token, it gets revoked with no problem. DELETE /api/v2/oauth/tokens/{oauth_token_id} But when revoking it with current.json endpoint, the response we get is 204 but the token is not revoked. We have full write and read access with that token. But I don't know why it not get revoked. DELETE /api/v2/oauth/tokens/current.json Looking for your reply. Thanks.
We have developed a private custom app for Support that securely sends a ticket attachment to a third-party URL for faxing. The API used is described here: https://developer.zendesk.com/api-reference/apps/apps-core-api/client_api/#clientrequestoptions The app has been working without problems since October of last year. Last week we attempted to send an 8.5 MB attachment to the URL and we encountered a “413 (Content too large)” error. In order to verify that the error does not come from the third-party site, I sent the same file to the third-party URL directly from my development system. It seems like POST requests sent via the listed API now have a size limit. I can send a 1.8 MB file via the API so I have confirmed that indeed the problem is related to a newly placed size limit. This new size limit is a bit of a head scratcher for me. The API call should be able to handle at least the maximum documented attachment size of 50 MB's: https://support.zendesk.com/hc/e
We have multiple integrations set up that hit the Zendesk API to search and create tickets. All of sudden one of our servers got blocked by Cloudflare and we're getting 403s all over the place. Same code works fine running locally from my machine. Any thoughts what could've done this and how we can get unblocked?
Hi everyone,I’m currently using the Zendesk API to add comments to tickets via the PUT /api/v2/tickets/{ticket_id} endpoint. The issue I’m facing is: when logged in as a customer service agent, I can see the comment (image 1), but when viewing as a customer, the comment doesn’t appear (image 2).Does anyone know how to post a comment through the API so that it shows up in the chat widget for the customer?Thanks for your help!
We encountered error in adding the Messaging SDK library https://github.com/zendesk/sdk_messaging_ios/ using the version 2.31.0. Error log says:sdk_socket_client_ios- Updating from https://github.com/zendesk/sdk_socket_client_iosCreating working copyChecking out 1.12.0- Couldn't check out revision '4937d9e0cc053e9a5bdff0f4b106486ed5c1409e': unexpectedly did not find the new dependency in the package graph: sourceControl(identity: s…
¡Hola comunidad de Zendesk!Hola soy un experto en el desarrollo de software a medida y estoy creando complementos para diferentes plataformas para una empresa de desarrollo de software , ahora quiero integrar una pasarela de pagos para una aplicación en Zendesk y estoy buscando una guía de cómo iniciar si alguien me podría ayudar, muchas gracias!
Hi!I'm currently supporting a customer to export tickets and we are facing an error trying to collect all tickets using the /api/v2/incremental/tickets.json API.After about 20 seconds we always get 503 status code with the error message: Database timeout errorTried with Insomnia, Postman and Powershell Any advice or help would be greatly appreciated.Some details: Plan: Team (3 Agents)Inital API request: https://<company>.zendesk.com/api/v2/incremental/tickets.json?start_time=0Response: { "error": { "title": "DatabaseError", "message": "Database timeout error" }} zendesk-ratelimit-incremental-exports: total=10; remaining=9; resets=32 Thank you.
I've been looking at the API documentation on tags and how to a add them to users. Maybe I'm wrong, but I haven't seen if you can add or remove the same tag to multiple users. For example, if I need to add tag 'foo' to 20 users, can I do it with 1 API request?
Hi, We are integrating Zendesk Chat into our mobile app, which is built as a web app wrapped in a Capacitor shell. In this setup, we are using the Zendesk Web Chat Client via an iframe with the following snippet:https://static.zdassets.com/ekr/snippet.js?key=key-hereOur app is available on the Play Store and App Store, and we currently have push notifications enabled for the native layer, previously used for the old Messenger (which will be retired once Zendesk Messenger is fully integrated).We’re facing challenges in setting up push notifications for Zendesk Chat, as most available documentation covers the native Chat SDKs, which we think don’t apply to our case. However, we do have FCM and PEM keys that we can add via the Zendesk Admin UI and in our current push notification setup, we store device tokens in our database to send notifications.Ideally, we want to know if there's an API that allows us to register these tokens and handle push notifications from Zendesk in our native
We are working with below tymeshift api and endpoints right now API EndpointsGet Metrics With Timezone Offset Endpoint: GET /api/getMetricsWithTzOffsetSample cURL Request: curl --location --globoff 'https://domain.tymeapp.com/api/getMetricsWithTzOffset?token=xxxxxxxxxx&requester_email=roxxxxxxxxxs.com&start_time=06%2F16%2F2024&end_time=06%2F22%2F2024&prim_groupby=2&sub_groupby=5&sub_sub_groupby=4&metrics=[%27attended%27%2C%20%27tickets_solved’ --header 'Cookie: Zendesk_WFM_Site_Session=xxxxxxxxxx' Other Endpoints from where we are fetching DATA /listusers /listMetrics /getMetric /GetMetricsWithTzOffset /GetSpecificMetrics /listgroups /basicreport /listtimecategories /listtimesheets New API EndPoint (l5) Token : xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Expires every 72 hours) Template ID : xxxx-xxxx-xxxx-xxxx-xxxx Sample cURL Request: curl --location 'https://1stopbedrooms.tymeap
Subject: Crash on iOS when using SupportProvidersSDK 9.0.0Body:Hello Zendesk Support,I’m a developer integrating the Zendesk SDKs into our iOS application, and we’ve encountered a crash that we’d like your assistance with.📱 Environment: SDK versions: ZendeskSupportProvidersSDK ~> 9.0.0 ZendeskSupportSDK ~> 9.0.0 ZendeskChatSDK ~> 5.0.5 Device: iPhone 14 Plus iOS version: 18.3.2 App version: 2024.10.0 (572) Jailbroken: No 💥 Crash details:The crash occurs on the main thread and seems to be related to ZDKAPIDispatcher or the internal memory handling within ZendeskCoreSDK. Crashed: com.apple.main-thread 0 ZendeskCoreSDK 0x1d688 __swift_memcpy48_8 + 4592 1 SupportProvidersSDK 0x26218 block_destroy_helper + 12452 2 SupportProvidersSDK 0x257e8 block_destroy_helper + 9844 3 SupportProvidersSDK 0x142f0 -[ZDKAPIDispatcher executeRequestNoBlock:onSuccess:onError:] + 208 4 SupportProvidersSDK 0x14540 -[
Hello, We are currently using the Zendesk Support SDK in our app. Specifically, we use RequestUi.buildRequestUi(with: [config]) to create the support interface. We are required to comply with the European Accessibility Act, which mandates support for dynamic type (allowing users to adjust text size) and strong VoiceOver accessibility. However, we have encountered an issue: the UI generated by the SDK does not appear to properly support larger text sizes. This is a legal requirement for us, so we need to find a solution. Could you advise on how to make the UI generated by the SDK fully support dynamic type and improve VoiceOver support?Thank you for your assistance.
Hi, I'm building a third-party integration to be listed on Marketplace and I need a way to get the unique account ID (the Zendesk instance identification). Which RESTful API can I get that? Thanks.
Hey so, I've been using the Zendesk REST API for email channels to retrieve ticket comments and it's been fairly straightforward so far; however, now I'm working on other channels like mobile_sdk, chat and instagram_dm and I'm running into a whole host off issues accessing the comments.I'm facing 2 main issues There is a major delay from when the ticket has new comments and when it's reflected via the API endpoints /tickets/[ticketID]/comments The format for channels like instagram_dm is completely broken For example, I've been using ZAF as well and I pass the ticket via ZAF to my backend and it has a conversations attribute which is very neatly formatted. Where as in the REST API for comments, the author_id is set to -1 and the data in the plain_body, body etc is a jumble of messages from both the customer and agent.Here's a sample from the ZAF client[ { "timestamp": "2025-01-08T10:07:39Z", "author": { "id": "24248831486621", "avatar": "https://assets.zendes
Hi Team, I am new to the zendesk, I have one requirement I have existing ticket and macro id aswell. I have to use the macro to update my body and subject which is already recorded in the macro. How to do that via api. Please give me example ?
Hi, I have built a Zendesk client app which is communicating successfully with my back-end. I now want to verify the requests received by my back-end are coming from Zendesk. I have seen how you can specify a parameter in the manifest.json file and the client asks for this parameter on start-up. However, I'm intending to submit the app to Zendesk's App Marketplace and wondering how it works when users are installing the app. I don't want them to have to enter a parameter on install. Is there another way to do this I'm missing? Thanks
What went wrong: Execution failed for task ':core:generateQaRFile'. > Could not resolve all files for configuration ':core:qaCompileClasspath'. > Could not find com.zendesk:support:5.0.1. Required by: project :coreWe already use the zendesk support module in our core module, but it is failing to load it this time. Is there a problem with the repository?
I'm trying to use the unified search url below and I get a 403 error even though I'm logged into our zendesk hub: /api/v2/guide/search?filter[locales]=en-us If I try the article search /api/v2/help_center/articles/search, it works fine. Is there a setting I'm missing?
① How to find tags in the ticket that satisfy certain rules, such as SLA,? These are data that I did not find in the API exported data . There are also one touch and other similar tags in the rest② In the Agent activity copy table in the dashboard copied by Zendesk Talk, the drill in table may show no ticket ID and no End user name, but in reality, these are data.③ For some parts of the dashboard tables, such as the table under Assign activity, can we automatically obtain them through APIs or other methods other than manually filtering and downloading
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.