1 / 16

Zendesk API Tutorial for developers

"Getting started. Resources. Learn about the most common tasks performed with the Zendesk API. Try tutorials and learn how to use the Zendesk APIs.<br>Tutorials and read articles in the API developer guide on the Zendesk Help.<br>Tasks covered in the tutorial: Choosing the right API; Create the ticket form; Create the tickets; Integrate the ticket form."t

Download Presentation

Zendesk API Tutorial for developers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Zendesk API TUTORIAL Zendesk API quick start – Zendesk Develop Uno?cial

  2. Forewords Some Digital Marketing Tools that you may consider in the next page. You can combine all these tools to get optimal results.

  3. Forewords 1. , sales funnel creator Builderall It is obviously one of the best free sales funnel creator, landing page along with free email tools with 100 subscribers, it is a must tool for digital marketer. The paid tier is also very good, the features almost same with ClickFunnels but with far cheaper price. Although you cannot use your own domain for free tier, but they put advertisement which is your a?liate link on the site you created. So, it is win-win solution, you get commission and Builderall get customer.  2. , easy eBook Creator Sqribble This is tool for eBook marketing. Combine it with BuilderAll and you can make a lead magnets. The eBook created looks very professional. It has lifetime deal for about $20 using this link with coupon CINDERELLA 3. , 3D animation video creator Viddyoze If you want to make stunning video easily, you can use Viddyoze. Though, to get the latest and coolest template, you have to subscribe. But, the basic one is already good. 4. , whiteboard and doodle animation creator. DoodleOze Tool to make whiteboard animation or doodle (cartoon). Make informative video or tutorial using this tool. Many digital marketer use whiteboard or doodle animation for their sales video and converts.

  4. Forewords 5. Speechelo or NewsCaster Vocalizer , These tool will help you to voice over the video you made using other tools mentioned above. As you can see in , voice over is very expensive. For 200 Fiverr words, the cost around $10. If you use Speechelo or  NewsCaster Vocalizer , you may not get super professional voice like Morgan Freeman, but you will get natural sounding voice over that hard to di?erentiated with human voice. It is because they use AI Deep Learning for the text-to-speech. I speculate that they use Amazon Polly. 6. Video Marketing Blaster After you make video along with voice over, you can use video marketing blaster to help you with the YouTube SEO. It is not instant result, but it is much better than if you research it yourself.

  5. Forewords In this 10-minute quickstart, you'll use the Zendesk API to create a few tickets. To keep things moving along, you'll use the JavaScript console of your browser to make the API requests. To authenticate the requests, you simply need to be signed in to your Zendesk Support account as an agent or admin on the same page as the JavaScript console.

  6. Forewords Preparation Zendesk API quick start – Zendesk Develop

  7. Zendesk API quick start – Zendesk Develop 1. If you don't already have a Zendesk Support account, register to start a free trial at https://www.zendesk.com/register/ 2. In your browser, navigate to your Zendesk account. The url will look something like . https://your_subdomain.zendesk.com 3. Sign in, then open the agent interface by selecting Support from the product tray in the upper-right. 4. Click the Admin icon () in the sidebar, then select Channels > , and make sure API Password Access is enabled in the settings. If you don't have permissions to do this, ask an admin to check for you. 5. Make sure you're still in the agent interface, then open the browser's JavaScript console on the same page, as follows:  Chrome: View > Developer > JavaScript Console  Firefox: Tools > Web Developer > Web Console  Safari: Develop > Show JavaScript Console . If you don't see the Develop menu, you'll need to turn it on in Safari preferences ( Safari > Preferences , and click the Advanced tab). It's important to open the console on the agent interface page or your API requests won't work. Zendesk API quick start – Zendesk Develop

  8. Zendesk API quick start – Zendesk Develop Create some tickets Let's create 3 tickets with one code snippet. To create a ticket with the API, you make a request to the endpoint. You can ?nd all the details about the POST /api/v2/tickets.json in the developer docs, but for now let's jump right in. Tickets API Zendesk API quick start – Zendesk Develop

  9. Zendesk API quick start – Zendesk Develop Zendesk API quick start – Zendesk Develop

  10. Zendesk API quick start – Zendesk Develop Zendesk API quick start – Zendesk Develop

  11. Zendesk API quick start – Zendesk Develop 1. Paste the following script into your browser's console: for(x=0; x<3; x++) { var subject = "Test ticket #" + x; var body = "This is test ticket #" + x; $.ajax({ url: '/api/v2/tickets.json', contentType:'application/json', type: 'POST', data: JSON.stringify({"ticket": {"subject": subject , "comment": { "body": body }}}) }) .done(function(data) { console.log(data.ticket); }); } Here's what the code looks like after pasting it in the console in Google Chrome: The code snippet creates a loop that makes 3 API requests. Zendesk API quick start – Zendesk Develop

  12. Zendesk API quick start – Zendesk Develop 2. Hit Enter. Trouble?  If you get POST https://subdomain.zendesk.com/api/v2/tickets.json 404 (Not , it means you're not currently signed in to your account. Go do that Found) now and retry.  If you get a , it means you're not currently on TypeError: $.ajax not a function the agent interface page. Open the agent interface, then open the JavaScript console on the same page, and give it another shot. Zendesk API quick start – Zendesk Develop

  13. Zendesk API quick start – Zendesk Develop 3. If successful, you'll see the new tickets listed as objects in the console: The last 3 objects are new tickets and all their information, including a bunch of properties you didn't bother to set. In the Chrome example above, you'd click the expander icon on the left of each object to see the rest of the properties. Check out the properties you set yourself ( and ), and ones the description subject system set for you, such as . If you'd been so inclined, you could have set the status ticket status yourself. Example (in bold ): data: JSON.stringify({"ticket": {"subject": subject , "status": "open", "comment": { "body": body }}}) 4. Switch to the agent interface to view your new tickets (click Views then Unassigned tickets ): When you're done trying out the API, delete the test tickets by selecting them in the list, clicking the Edit Tickets button in the upper-right, and selecting Delete . Zendesk API quick start – Zendesk Develop

  14. Zendesk API quick start – Zendesk Develop Next steps The best way to learn how to use the Zendesk API is to try di?erent requests on your own. You can use any of the following resources along the way: Zendesk API quick start – Zendesk Develop

  15. Zendesk API quick start – Zendesk Develop  Learn about the most common tasks developers perform with the Zendesk API  Try tutorials and read articles in the API developer guide on the Zendesk Help Center  Peruse the extensive API reference documentation on the Zendesk developer portal  Run any of the examples in the reference docs using cURL, a lightweight, command-line tool for making HTTP requests without a web browser. See Installing and using cURL  Speed up development with an API client . An API client takes care of a lot of the low-level details of making requests and handling responses and lets you focus on the logic of your application  Ask questions or look for answers in the Zendesk API developer community . Have more questions? Submit a request Zendesk API quick start – Zendesk Develop

  16. Zendesk API Tutorial This eBook sourced from https://develop.zendesk.com/hc/en- us/articles/360001068527-Zendesk-API-quick-start. This eBook is uno?cial, it means it is not made by Zendesk. Please refer to o?cial documentation.

More Related