Skip to main content
Question

Rest-API GET Request in Zapier / Json Output

  • January 26, 2022
  • 5 replies
  • 538 views

Hi i was not able to make a test Get- Request from the Provider with following demo account informations

 

curl -H "X-CLIENT-ID:
9971557793fdf19f4bf96de5d48be46547bdc5ec" -H "X-CLIENT-SECRET:
f5dd4d8943a51447ef63b061ccd0aab43e98e1f0" -X GET
https://leads.around.technology/v201805/leads

 

What iam doing wrong? in Zapier iam creating a new Zap i choose “Retrieve Poll”.

How it should look like? I entered all information in the URL Section.

Thanks a lot

Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

robschmidt
Forum|alt.badge.img+9
  • Zapier Expert
  • 617 replies
  • January 26, 2022

Hi @yasinyaso 

You need to pass the URL into the URL field, and the credentials in the Header fields like this:

For that you need to use Webhook by Zapier>Get Event as an action. 

 


robschmidt
Forum|alt.badge.img+9
  • Zapier Expert
  • 617 replies
  • January 26, 2022

 


  • Author
  • Beginner
  • 8 replies
  • January 26, 2022

Hey Rob! Thanks for your quick reply. That looks good, but when iam entered the same information i still got an error. Just attached the screenshots..

 

 


  • Author
  • Beginner
  • 8 replies
  • January 26, 2022

@robschmidt you have any idea?


GetUWired
Forum|alt.badge.img+12
  • Zapier Expert
  • 1030 replies
  • January 26, 2022

Hi @yasinyaso 

If an id field is not provided in the results then Zapier will not know how to dedupe the objects that are returned. You will need to specify a field to be used as the id field using the Deduplication Key input.

I have not seen the api docs but you may also need to use the key field if the results are not an array. Based off of the results in @robschmidt’s call you may need to put ‘leads’ in the key field and ‘lead_id’ in the deduplication key field