# apiToken in Request Paramenters

**URL:** <https://community.parabola.io/t/apitoken-in-request-paramenters/1078>\
**Category:** Ask a question\
**Tags:** Using-APIs\
**Created:** [September 18, 2020, 8:32pm UTC](https://community.parabola.io/t/apitoken-in-request-paramenters/1078 "2020-09-18T20:32:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Will\_G](https://avatars.discourse-cdn.com/v4/letter/w/f14d63/32.png) [@Will\_G](https://community.parabola.io/u/Will_G)\
**Post date:** [September 18, 2020, 8:32pm UTC](https://community.parabola.io/t/apitoken-in-request-paramenters/1078/1 "2020-09-18T20:32:20Z")

</div>

I cannot figure out how to make pull data from Viral Loops.

Documentation: [https://intercom.help/viral-loops/en/articles/2850549-api-reference](https://intercom.help/viral-loops/en/articles/2850549-api-reference)

I am trying to GET Participant Data: Getting participant data: ```  
[https://app.viral-loops.com/api/v2/participant\_data](https://app.viral-loops.com/api/v2/participant_data)

```auto

It looks like the apiToken needs to be in the request parameters, not the header. How would I do this?
```

---

<div class="post-metadata">

**Author:** ![andrew](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/andrew/32/36_2.png) [@andrew](https://community.parabola.io/u/andrew)\
**Post date:** [September 18, 2020, 9:52pm UTC](https://community.parabola.io/t/apitoken-in-request-paramenters/1078/2 "2020-09-18T21:52:30Z")

</div>

Hey @Will_G – I believe something like this should work:

 ![Screen Shot 2020-09-18 at 14.50.28](https://us1.discourse-cdn.com/flex020/uploads/parabola/original/1X/2b8234ae67f01b47c6d772e2acee985b37886dc9.png)

It’s not super obvious, but in the “Header Key” dropdown, you can write in your own header, so you can just add “apiToken” there.

---

<div class="post-metadata">

**Author:** ![anon36387498](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@anon36387498](https://community.parabola.io/u/anon36387498)\
**Post date:** [September 19, 2020, 12:50am UTC](https://community.parabola.io/t/apitoken-in-request-paramenters/1078/3 "2020-09-19T00:50:00Z")

</div>

Thanks for that suggestion, @andrew!

@Will_G if you still get an error setting up the step `Pull from an API` via headers, then I’d try passing the API token as a parameter instead (i.e. [https://app.viral-loops.com/api/v2/participant\_data?apiToken=\_\_\_](https://app.viral-loops.com/api/v2/participant_data?apiToken=___) and replace the \_\_\_ with your API token).

 ![Screen Shot 2020-09-18 at 5.47.29 PM](https://us1.discourse-cdn.com/flex020/uploads/parabola/original/1X/c23c7b839d84444f5e1ae1ad0a386245ffd644c7.png)

---

<div class="post-metadata">

**Author:** ![Will\_G](https://avatars.discourse-cdn.com/v4/letter/w/f14d63/32.png) [@Will\_G](https://community.parabola.io/u/Will_G)\
**Post date:** [September 20, 2020, 3:44am UTC](https://community.parabola.io/t/apitoken-in-request-paramenters/1078/4 "2020-09-20T03:44:51Z")

</div>

Yes!! This worked thank you so much!
