Skip to main content
Question

how to pass query params in get call in zapier?

  • January 21, 2021
  • 2 replies
  • 1410 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?

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
Forum|alt.badge.img+11
  • Zapier Solution Partner
  • January 27, 2021

@ikbelkirasan should be able to help here.


ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Solution Partner
  • January 27, 2021

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