• Live group demo of Marketing Hub + Data Agent

    Standardize reporting, reduce manual work, and introduce AI without cleanup

    Join us on March 12
  • Ready to build your local HubSpot community?

    HUG leaders host events, spark connections, and create spaces where people learn and grow together.

    Become a HUG Leader

Transactional single send email API - status vs send result

MeriB
Member

I'm looking at the values possible for the "status" and "sendResult" fields that is returned by the API "https://api.hubapi.com/marketing/v3/email/send-statuses/{statusId}" (defined in the docs here) and am unclear on their relationship. 

 

Is the assumption that a non-null or non-empty sendResult value be returned only if the status is COMPLETE?

Would there ever be a sendResult value if the status is CANCELED? 

Would the status still be COMPLETE even if the sendReuslt were QUEUED? 

 

Thanks~ 

0 Upvotes
1 Accepted solution
Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

Hey @MeriB 

 

Its been a while since I worked with transactional emails but as I read the documentation:

  • Status correlates to "send request" meaning HS is going to validate the request and scopes/permissions before attempting to send the email
  • SendResult correlates to "send attempt" meaning HS tries to send the email and returns the result

I do not think they are coupled

View solution in original post

0 Upvotes
2 Replies 2
Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

Hey @MeriB 

 

Its been a while since I worked with transactional emails but as I read the documentation:

  • Status correlates to "send request" meaning HS is going to validate the request and scopes/permissions before attempting to send the email
  • SendResult correlates to "send attempt" meaning HS tries to send the email and returns the result

I do not think they are coupled

0 Upvotes
Jaycee_Lewis
Thought Leader

Hey, @MeriB 👋 It looks like your account has access to support. I'd suggest filing a support ticket and asking for clarification. This should be successful because you are not asking for custom coding help, but rather are asking for clarification of what's listed in the documentation. Best,

Jaycee





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes