API reference / Outreach
Say what became of an email that may not have gone
For an email that failed, or may have gone without the mail server saying so: send_again puts it back in line as the same email (same Message-ID), and went counts it as sent, moving its lead on. A person's call, made after looking in the mailbox's Sent folder.
/api/v1/campaigns/{id}/emails/{email}/resolveOther ways to call it
troopy campaigns resolve-emailIdempotency-Key header. A retry with the same key gets the first answer back, and the operation runs one time.Path parameters
id*stringA 24-character id
email*stringA 24-character id
Body
application/jsonoutcome*enum<string>send_againwent
Response
200 · application/jsondata*object17 properties
id*stringA 24-character id
lead*object4 properties
enrollment*stringA 24-character id
email*stringname*string | nullstatus*enum<string>activepausedrepliedbouncedunsubscribeddonestopped
step*integerIts step, from 0
subject*stringbody*stringflags*array<string>What a person should look at first: a flagged email always waits for one
status*enum<string>draftapprovedsendingsentunknownfailedskippedcanceledreceived
dueAt*string | nullsentAt*string | nullwrittenBy*enum<string>templatepersonteammate
teammate*object | nullThe teammate that wrote it
2 properties
name*stringhandle*stringnote*string | nullThe line of the teammate for the person who reviews it: the detail it starts with, and where that comes from
used*array<object>What the teammate took from the lead's material, each with the words it took. Troopy checked each quote against its source
3 properties
source*stringurl*string | nullquote*stringrewriting*booleanA teammate writes it again now, as a person asked
approvedBy*object | null3 properties
type*enum<string>personagentapi
id*stringname*stringautopilot*booleanApproved by the campaign's Autopilot, in the name of whoever granted it
error*string | nullWhy it hasn't gone, or may not have, or why it couldn't be rewritten