Dynamic Element (multiple phone numbers) in API Action

I’m working on a bulk SMS message. An API that send one message to multiple phone numbers. I have tried many different ways with no luck. I will show you a few of the ways I have tired. I’m sure there is a syntax issue or another solution.

They want us to submit this (and it works)…
I


…but I obviously do not want to hand enter the phone numbers

Use Server Actions -> Set Value inside a repeat & and image outside the repeat, I was able to get a variable that includes what I want inside the “destinations” brackets.

I’m wanting to do something as simple as (but this does not work)…
image
…but receives a 500 (Internal Server Error)
I wrap the expression in quotes and get a 400 (Bad Request) from the API source server.

I am currently getting all my information to post in the API from queries running on Server Action side. Any idea how to get the expression of multiple phone numbers in this area correctly?