Is the only time I can see the SUBJECT in the JSON response from the API is when the event type is SENT?
I am trying to make sure my SUBJECTs are not getting filled in or what???
Is the only time I can see the SUBJECT in the JSON response from the API is when the event type is SENT?
I am trying to make sure my SUBJECTs are not getting filled in or what???
Hi, @mclayton.
Are you referring to the Email Events API? In the future, please specify which API and endpoint you are using; it makes it easier for others to help.
Based on the Get email events endpoint documentation, it does seem to be the case that the subject field is only returned when the event’s "type": "SENT".
We are trying to make all our APIs more consistent, so I’ll make note of this behavior.
In the meantime, you can cross-reference the event’s emailCampaignId with the results from this endpoint, which always returns an email’s subject.