# API Connector POST with dynamic data (postmark email)

**URL:** <https://forum.bubble.io/t/api-connector-post-with-dynamic-data-postmark-email/143051>\
**Category:** APIs\
**Created:** [March 25, 2021, 2:40pm UTC](https://forum.bubble.io/t/api-connector-post-with-dynamic-data-postmark-email/143051 "2021-03-25T14:40:13Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [March 25, 2021, 3:07pm UTC](https://forum.bubble.io/t/api-connector-post-with-dynamic-data-postmark-email/143051/7 "2021-03-25T15:07:30Z")

</div>

Actually, you are putting everyting in the same parameters.  
But in this case, you need to have an object {} for each line  
Example:  
“calculation\_details”:[  
{“description”:\<description\_value\>“,“amount”:”\<amount\_value\>“},{“description”:\<description\_value\>”,“amount”:“\<amount\_value\>”}]  
this mean 2 line.  
But if you have dynamic data that will change on how many item you will have, you will need to use a more complex option  
You will set in API Connector: “calculation\_details”:[\<calc\_detailss],  
And in the workflow, for this part, you will use :format as text.

Please read this post for a few informations about that

> [@\[New Feature\] '...:format as text' operator on lists](http://forum.bubble.io/t/new-feature-format-as-text-operator-on-lists/124248):
>
> Hello everyone! Formally announcing the release of this feature. Some of you have already noticed and used it but we were a bit quiet about it as we wrapped up some QA tasks. This operator can be applied to a list of things to display its content in a custom format. You can choose a delimiter for your list, and the content to show per list item. All items will share the format that you specify. For example, if you have a list of names, you can choose to display “This name” in bold with a space…

---

_[View the full topic](https://forum.bubble.io/t/api-connector-post-with-dynamic-data-postmark-email/143051)._
