Questions tagged [zendesk-api]

For questions related to Zendesk's REST API.

See also:

182 questions
5
votes
1 answer

ZenPy search calls with max results

I am using ZenPy to search for a few tickets in ZenDesk: open_tickets = zenpy_client.search(type='ticket', status=['new', 'open'], subject=subject, group=group_name, created_between=[two_weeks_ago_date, current_date]) The problem is when I have too…
briba
  • 2,857
  • 2
  • 31
  • 59
5
votes
1 answer

Uploading a binary file using fetch

I'm trying to upload a file to Zendesk, here is the API: curl "https://{subdomain}.zendesk.com/api/v2/uploads.json? filename=myfile.dat&token={optional_token}" \ -v -u {email_address}:{password} \ -H "Content-Type: application/binary"…
Roni Hacohen
  • 313
  • 5
  • 16
4
votes
0 answers

Issue with ZendeskApi_v2 library in retrieving the top 10 search results

I'm using the ZendeskApi_v2 library to interact with the Zendesk API and retrieve tickets for a specific user. I've encountered an issue while trying to fetch only the top 10 results from the search, and it seems that the limit or per_page…
ilCosmico
  • 1,319
  • 15
  • 26
4
votes
1 answer

Why are my ZenDesk macros being updated, but no change actually going through?

I was trying to bulk edit the signature of my personal macros on ZenDesk, and the only way to do that is via the API. So I wrote this quick Python script to try to do it: import sys import time import logging import requests import re start_time =…
JNat
  • 1,456
  • 4
  • 34
  • 37
3
votes
0 answers

Create Zendesk Ticket iOS v2

I'm just trying to have a form for users to create a ticket in my app. Nothing else is needed besides that. I have used the methods here https://developer.zendesk.com/embeddables/docs/ios_support_sdk/requests Here is my code //Create a configuration…
tacticalmovephase
  • 1,119
  • 9
  • 16
3
votes
1 answer

Play Framework WS Hostname Verification Certificate Issues

I am using Play Framework 2.3.8 and I am having trouble making HTTPS requests to certain hosts. In this instance I cannot seem to connect to a Zendesk API host (xxxxx.zendesk.com) using the WS client. The error I get initially is: Cannot invoke the…
Sean Dawson
  • 5,587
  • 2
  • 27
  • 34
3
votes
1 answer

Rewrite curl with Guzzle (File Upload) - PHP

I'm trying to upload a file to my server and then send that file to Zendesk. The Zendesk docs show how: curl "https://{subdomain}.zendesk.com/api/v2/uploads.json?filename=myfile.dat&token={optional_token}" \ -v -u {email_address}:{password} \ -H…
monstercode
  • 944
  • 6
  • 25
3
votes
0 answers

Consuming a custom salesforce REST API from Zendesk

I want to consume my salesforce REST API from ZENDESK app. To consume my salesforce REST API i need to send Authorization header with salesforce acess_token. To get the access token in zendesk i am creating a server side zendesk application. I…
Anshu Kumar
  • 807
  • 1
  • 8
  • 27
3
votes
1 answer

how to create a zendesk ticket with inline image

I would like to create a ticket with inline image but cannot get through it. I am using a rich text having a pasted screen capture image, the content is like "
James Rao
  • 168
  • 2
  • 13
3
votes
1 answer

use Curl to access API with username and password in PHP

This is the sample code but using Curl on cmd : curl https://www.zopim.com/api/v2/chats -u {username}:{password} How do I query it in PHP?
ivor
  • 307
  • 1
  • 6
  • 16
3
votes
5 answers

Error while trying to upload files to Zendesk Api 2 in c#

I am trying to upload an image using Zendesk API v2, I am posting the file to /api/v2/uploads.json using RestSharp, and the file appears in the ticket once I create the ticket and add the attachment, the issue is that if I upload an image it won't…
LeoTorres
  • 142
  • 1
  • 10
3
votes
2 answers

Ruby on Rails, Zendesk API integration not loading the client

I am trying to set up the Zendesk API in my app, I have decided to go with the API that was built by Zendesk I have set up the initializer object to load the client. config/initializers/zendesk.rb require 'zendesk_api' client =…
legendary_rob
  • 12,792
  • 11
  • 56
  • 102
2
votes
0 answers

Adding Flags to Metadata using Zendesk API

I'm creating Zendesk tickets using the API in PHP, and I want to add flags:[3] to the metadata so that it shows that the ticket requester was not signed in when the ticket was created. However, I have yet to find a way to edit the metadata in this…
2
votes
0 answers

creating ticket with GAS through Zendesk api - \n not working properly

Hello I'm trying to make a zendesk ticket via zendesk api with Google Apps Scripts. I made a message body to post but "\n" is not working properly when it's posted. For example, I make the following message body.   "This is a first line of the…
2
votes
2 answers

Zendesk: anyone knows how to authenticate in Zendesk API?

I am trying to connect to Zendesk with API token, but I am getting this issue: { "error": "Couldn't authenticate you" } I am trying to use Basic Auth (here is a screenshot from Postman). If anyone knows another way how to do it, share it with…
Daniel AC
  • 63
  • 2
  • 12
1
2 3
12 13