Ask questions, share tips, and discuss best practices about apps and integrations, App builder, APIs, SDKs, ZAF, and Sunshine
Recently active
Hi,I'm building a support app and I have setup CI/CD pipeline (with zcli apps:update command) and also trying to use JWT token for external request which requires to save a shared secret between the support app and our server side.When I add a param in the manifest file, it always asks the value again and again whenever it's deployed.This blocks the whole CD pipeline.Also tried with no param in the manifest but this deletes the share secret completely.What the best way to set up the shared secret with CD pipeline?
Hello all, I have implemented a React app as a ticket sidebar app in the support module. In this sidebar app, I use the modal component of Zendesk-Garden, the modal is then also displayed in the sidebar. Is there a way to have the modal displayed in the middle of the screen and not in the sidebar? I would be very grateful for any tips and help. Many greetingsNorbert
Does anyone know why the following is failing, with what looks like a weird response?Request: POST {{baseUrl}}/api/v2/ai_bots/generative_replies Response: {"error":"InvalidEndpoint","description":"Not found"}Note: The call was made in Postman, using a fork of the official Postman collection(https://www.postman.com/zendesk-redback/workspace/zendesk-public-api) The setup of the call - especially the form data - (not included here) looks correct.The same auth setup and baseUrl variable used to make the call suceeds for a different endpoint. Advanced AI bundle has been purchased for the account
I am trying to use the Tymeshift api connector in Fivetran. Fivetran is having issues connecting to WFM api. I independently tried to call the api myself with a simple login curl and that doesnt workcurl --location 'https://myorg.tymeapp.com/l5/api/user/login' \--header 'Content-Type: application/json' \--data-raw '{ "login": "myemail", "password": "redacted, "domain": "mycompany", "account_plan": "professional"}'this is what I got{"success":false,"message":"Invalid credentials"}% so I tried with password and api key as well. has someone else faced this issue?
So I am creating an API for leads and when I test it in Postman it is working, sharing a SS for that and so later I created php curl code from Postman and when I run that API on my live server and localhost server I receive an error saying "500 Internal Server Error". Postman Screenshot:Server Screenshot: <?php$curl = curl_init();curl_setopt_array($curl, array( CURLOPT_URL => 'https://api.getbase.com/v2/leads', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_HTTPHEADER => array( 'Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' ),));$response = curl_exec($curl);curl_close($curl);echo $response; I have shared the code too just not sharing the Token. i did some re
I have an web application through which users access the zendesk portal Previous Code $now = time();$token = array( "jti" => md5($now . rand()), "iat" => $now, "name" => $name "email" => $email);$jwt = JWT::encode($token, ZendeskJWT::$key, 'HS256');$url = "https://mysubdomain.zendesk.com/access/jwt?jwt=" . $jwt;if ('' == $returnTo) { $location = $url;}$location = $url . '&return_to=' . $returnTo; header("Location: " . $location);exit; Current code$now = time();$token = array( "jti" => md5($now . rand()), "iat" => $now, "name" => $name "email" => $email);$jwt = JWT::encode($token, ZendeskJWT::$key, 'HS256');$ch = curl_init();$postData = json_encode([ 'jwt' =>jwt, 'return_to' => ‘https://mysubdom
Hi! I'm using the action client.request(options) documented here https://developer.zendesk.com/api-reference/apps/apps-core-api/client_api/#clientrequestoptions. My question:What are the default values for some of the options listed? E.g. What is the default timeout value in case it's not explicitly set? Thanks and best regards,Alexander
I'm currently getting a SSL error when I try to validate or package a new app update: > zcli apps:validate › Error: Error: write EPROTO 8085820701000000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3 alert handshake › failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1600:SSL alert number 40 I've tried updating all ruby gems and homebrew as well. Is there something I am missing?
Hello, Selling apps in the marketplace is definitely made easier thanks to the stripe integration.What is the recommended approach for managing sales tax in the various jurisdictions? I know that some marketplaces collect and remit on behalf of the app seller, which would be the preferred scenario.But I believe as a seller, I would still be required to report on this to the various tax agencies in the jurisdictions my apps have been sold. But the stripe checkout process is such that we (app sellers) are collecting app revenue directly, so I think it is up to me to collect and remit sales tax.If that is correct, is there a recommended approach to automate this? Any guidance on this would be greatly appreciated.
We have multiple Zendesk instances, and on one of the instances, the /api/v2/help_center/user_segments API request is returning 404 Not Found error, with a full HTML page as the payload.
Hi there, I am working on implementing SSO in Zendesk. I want to use Auth0 as identity provider. Currently, all user accounts are stored in Zendesk. In order to move to Auth0, I have to first migrate all user accounts into Auth0's database. I want to use Autho's automatic migration feature (see this for details: https://auth0.com/docs/manage-users/user-migration). As part of this, I need to know how to use Zendesk's API for user authentication. I tried to search for docs about this, but I couldn't find anything. My Zendesk URL is this: https://parsebiosciences1710795619.zendesk.com/ Can you point me to what API endpoint I could use to log in against this and also send me docs on how to authenticate the API requests? Many thanks,Iva
Hello! Is it possible to get information about the message (or chatbot transcript) and the visitor when using Chat Conversation API with Zendesk Messaging? Also is it possible to get an indication that the message was sent via Zendesk Messaging? We are using Web Widget (classic). And we are not using Sunshine Conversation API. Some additional info. We have an integration that can exchange messages with web widget chat visitors.It is using Chat Conversation API and works well with Zendesk Chat.But when Zendesk Messaging is enabled Chat Conversation API’s "subscribe to message” and "subscribe to chatActivity” don’t work. We can subscribe, but the handlers are not invoked when a visitor initiates a conversation. Can we make it work somehow? We also tried using a Trigger to assign the new Messaging tickets to our integration agent. In that case our chatActivity handler is being invoked, but the only info we can get from there is channel id, so we still missing the message and visitor info.
HelloI want to build an app that can sit in front of human agents over zendesk web chat. I see there are a few of these apps here https://www.zendesk.com/marketplace/apps/?utm_medium=zendesk_support&utm_source=marketplace_directory_my_apps_link&class.name=AI+and+Bots. Can you help me on how i can build such an app ? This is not for any specific business but want to ultimately make it available as an installable app. Thanks
Hello,We have an app that is getting some complaints about taking too long for certain actions. I know you can add google tracking to apps - is that basically the best way to try to measure the performance to see where to improve? Also are there best practices somewhere ?ThanksLorna
Dear Zendesk Community, i have a question regarding the memory usage for custom objects. Our Customer uses the Custom Objects as a way to store “orders”, “offers” and their corresponding Positions.cause the large amount of Data we are working with, we implemented a local script which deletes all custom object entries prior to 3 years. Unfortunatly tho after successfully deleting about ~1,5 Mio entries the memory usage displayed in the admin center does not get lower. Has anyone else had issues with this? Thanks in regards,Oskar - Junior Software Developer
Our agents regularly forget to mark themselves as Online. I've setup a collection of our agents and each day I run the collection to PUT their availabilty status to Online. I want to run a conditional statement that checks for the Agent_OOO field (from the Agent Out of Office App) being marked as True, and if TRUE then skip the request and the agent can remain Offline. Otherwise, mark the agent as Online. Any suggestions on this process would be helpful.
As the title suggested, I am looking for user-based storage for support apps in Zendesk.I have already looked into adding it to the manifest or custom user fields. The Major problem I am facing is the exposure of sensitive data. Manifest/User Fields can be accessed by any user for any user. So storing something secure like an auth token for the admin in the admin's user field becomes a security risk as it can be retrieved by an agent using the correct API. Is there any storage for support apps that can be suitable for my use case?
Hi, i am trying to retrieve 2000 solved tickets using search API , but i am unable to get 2000 solved tickets.first query - i made to get the solved tickets , i used pagination ,so i made 10 calls to get 1000 tickets which are updated less than current date , each page giving me 100 tickets each .interestingly ,i took the first query results for my second and subsequent API calls, for second query i took last ticket updated at field of first query and made API calls (i.e. ticket updated less than this date and status as solved ). but it either returned few ticket or nothing and after that tickets in the search results are emptyany help to get the 2000 tickets which are solved?thanks Rahul
Hi,I have a weird issue that I can't manually reproduce, but it rarely happens, and I have no idea why.I have a script that creates a new ticket (POST /api/v2/tickets.json) multiple times a day and in most cases, a new ticket is created every time (code 201). However, in some cases, no ticket is created and the response contains a similar ticket that I made earlier (code 200). The response body object for both POST requests is even different in both cases.When it creates a ticket, the response is:{ "ticket": { "subject": "Subject content", "updated_at": 1716929554, "organization_id": "91********", ... "id": "12345678", "status": "open", "requester_id": "51********", "assignee_id": "51********" }, "audit": { ... } }and when it doesn't, the response is:{ "tickets": [ { "subject": "Subject content", "updated_at": 1716929554, "organization_id": "91********", ... "id": "12345678", "status": "open"
hi everyone, I get this error message, and I cant figure out why its happening, what it is or how to fix it. The error comes whenever i try to send a GET api request from Voiceflow to Zendesk. However, it now works with some Zendesk accounts, even though i literally just dublicated all my work.This is the error:{"error": "Couldn't authenticate you","VF_STATUS_CODE": 401,"VF_HEADERS": { "cache-control": "no-cache", "cf-cache-status": "DYNAMIC", "cf-ray": "8a2911958aee07bc-IAD", "connection": "close", "content-length": "37", "content-type": "application/json; charset=utf-8", "date": "Sat, 13 Jul 2024 11:52:45 GMT", "nel": "{\"success_fraction\":0.01,\"report_to\":\"cf-nel\",\"max_age\":604800}", "report-to": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Vvr1VsgoGw7wbDurfdSGYbf98d5nzKPdpI2p9l1x2BUeBlJ4C5fjn9cmgzlPwYWSxprHul0s5AH%2BXNxgvrWWegS%2BfeR1cJ2JR%2Bm2bin3QhdPw5CtnH2gU%2FO3RmsOtkqFqog7TAFaNn
Hello, I want to set up a live chat on my website. For the live chat, I want to avoid the user to put his firstname/lastname. So if the user already exist, it's automatically linked to him. And if not, it's created automatically. And, I have information that I have from the previous page and I want to push this information on the chat directly. So, to resume, my user enter few informations. Once all is done, he is redirected to a confirmation page. I want to display the live chat on fullscreen and directly have some information in the live chat as fullname and informations. And my agent, through the BO, can talk to him. Thank you
Our Android app has several events that require us to log out users and close all activities.E.g. when our access token expires, we need to log out user and show the login page per our InfoSec requirements. Zendesk SDK has API to start messaging via showMessaging(), function but we can't find an option to hide the messaging chat. Can you guide us, what we can do here?
Hi,I am getting following error. not sure what is happening. i can't get out of this error while running the application. [1] SyntaxError: Unexpected end of JSON input[1] at JSON.parse (<anonymous>)[1] at getManifestFile (C:\Users\SBDESHMUKH\AppData\Roaming\npm\node_modules\@zendesk\zcli\node_modules\@zendesk\zcli-apps\dist\utils\manifest.js:13:17)[1] at buildAppJSON (C:\Users\SBDESHMUKH\AppData\Roaming\npm\node_modules\@zendesk\zcli\node_modules\@zendesk\zcli-apps\dist\lib\buildAppJSON.js:124:57)[1] at FSWatcher.<anonymous> (C:\Users\SBDESHMUKH\AppData\Roaming\npm\node_modules\@zendesk\zcli\node_modules\@zendesk\zcli-apps\dist\commands\apps\server.js:36:65)[1] at FSWatcher.emit (node:events:513:28)[1] at FSWatcher._handle.onchange (node:internal/fs/watchers:212:12)
Hello, I have some reports configured in Zendesk Explore, and there I'm able to extract csv files with the fields I configured. Is there a way to extract this same report via API? Or maybe an API that I can apply the same filters of Zendesk Explore?
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.