# Sending test marketing email through API

**URL:** <https://community.hubspot.com/t/sending-test-marketing-email-through-api/102834>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [March 18, 2024, 6:50pm UTC](https://community.hubspot.com/t/sending-test-marketing-email-through-api/102834 "2024-03-18T18:50:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttest35](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@ttest35](https://community.hubspot.com/u/ttest35)\
**Post date:** [March 18, 2024, 6:50pm UTC](https://community.hubspot.com/t/sending-test-marketing-email-through-api/102834/1 "2024-03-18T18:50:03Z")

</div>

I am currently on a test account and want to try out the marketing single send.  
My data looks like this-

`const data = { emailId: id, message: { from: "noreply@hubspot.com", to: "user@gmail.com" }};`

In response, I always get

Response: {  
statusId: ‘iHl\_yklkQQGWoCL1FCf2BwAAAY5S39BSArdVBg==’,  
requestedAt: ‘2024-03-18T18:43:03.584Z’,  
status: ‘PENDING’  
}  
But the email is never delivered. I haven’t set up any domain. I just want to trigger a test send. How can I acheive this?

---

<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:** [March 19, 2024, 11:37pm UTC](https://community.hubspot.com/t/sending-test-marketing-email-through-api/102834/2 "2024-03-19T23:37:05Z")

</div>

Hi, @ttest35 👋 It’s not currently possible to test this or get access with a test account. If your portal has an Enterprise level subscription, I’d suggest reaching out to your CSM to see if there are any exceptions. Otherwise, this isn’t a request that me nor the community can assist with.

Best,

Jaycee
