# Pass list to API parameter in certain format

**URL:** <https://forum.bubble.io/t/pass-list-to-api-parameter-in-certain-format/180114>\
**Category:** APIs\
**Created:** [November 28, 2021, 7:38am UTC](https://forum.bubble.io/t/pass-list-to-api-parameter-in-certain-format/180114 "2021-11-28T07:38:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bubble65](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@bubble65](https://forum.bubble.io/u/bubble65)\
**Post date:** [November 28, 2021, 7:38am UTC](https://forum.bubble.io/t/pass-list-to-api-parameter-in-certain-format/180114/1 "2021-11-28T07:38:38Z")

</div>

I’m struggling to work out how to pass a list as a parameter to an API call.

The list is as follows: apple, banana, orange

I need to pass this as an API parameter in the form “apple"OR"banana"OR"orange”

Any suggestions would be much appreciated!

---

<div class="post-metadata">

**Author:** ![bubble65](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@bubble65](https://forum.bubble.io/u/bubble65)\
**Post date:** [November 29, 2021, 5:32am UTC](https://forum.bubble.io/t/pass-list-to-api-parameter-in-certain-format/180114/2 "2021-11-29T05:32:32Z")

</div>

FYI for anyone else.

Fixed it!

noob of me:

list:formatted as JSON-safe join with OR
