APIs & Integrations

MeriB
Member

Transactional single send email API - status vs send result

SOLVE

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

Transactional single send email API - status vs send result

SOLVE

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

Kevin Cornett - Sr. Solutions Architect @ BridgeRev

View solution in original post

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

Transactional single send email API - status vs send result

SOLVE

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

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

Transactional single send email API - status vs send result

SOLVE

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

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes