# How to loop through singleSend API?

**URL:** <https://community.hubspot.com/t/how-to-loop-through-singlesend-api/72965>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [January 16, 2023, 2:58pm UTC](https://community.hubspot.com/t/how-to-loop-through-singlesend-api/72965 "2023-01-16T14:58:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RAnaya](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RAnaya](https://community.hubspot.com/u/RAnaya)\
**Post date:** [January 16, 2023, 2:58pm UTC](https://community.hubspot.com/t/how-to-loop-through-singlesend-api/72965/1 "2023-01-16T14:58:40Z")

</div>

Hi, I’m trying to send multiple emails or loop them through is this possible? i’m getting error:  
message: ‘Email with Portal Id 21281352, App Id 22717, and Send Id 01GPXDYWQZAJGHA9KWG5KGDM5T has already been sent.’,  
status: ‘error’,  
sendResult: ‘IDEMPOTENT\_IGNORE’,

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 19, 2023, 4:07pm UTC](https://community.hubspot.com/t/how-to-loop-through-singlesend-api/72965/2 "2023-01-19T16:07:13Z")

</div>

Hi, @RAnaya. Thanks for reaching out. Hey, @Teun @skimura, do you have any thoughts on what additional details or context @RAnaya can provide to help troubleshoot this issue with the community?

Thank you! — Jaycee
