Transactional single send email API - status vs send result

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~

Hey, @MeriB :waving_hand: 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

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