Skip to main content
Question

how to pass query params in get call in zapier?

  • January 21, 2021
  • 2 replies
  • 1391 views

const performCreate = async (z, bundle) => {

  const response = await z.request({

    method: 'GET',

    url: 'https://api.getblueshift.com/api/v1/campaigns.json',

    qs: {

      end_time: bundle.inputData.end_time,

      start_time: bundle.inputData.start_time,

      tag_data: bundle.inputData.tag_data,

      status: bundle.inputData.status// json by default

    }

 

 

is this right way?

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.

2 replies

AndrewJDavison_Luhhu
Forum|alt.badge.img+10

@ikbelkirasan should be able to help here.


ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Expert
  • 555 replies
  • January 27, 2021

Hi @pushkar123 - Query params can be put in params instead of qs.