API reference / Outreach
Sort a reply
Says what a reply is, which moves its person's stage: interested, or not_interested (which also puts them on do-not-contact); unsubscribe unsubscribes them; the rest (a question, not now, out of office, the wrong person) say they replied.
patch
/api/v1/replies/{id}Other ways to call it
CLI
troopy replies sortMCP tool
troopy_sort_replyRate limit120 calls in 60 seconds, for each key
RetriesSend an
Idempotency-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
Body
application/jsonsort*enum<string>interestedquestionnot_nownot_interestedout_of_officeunsubscribewrong_person
Response
200 · application/jsondata*object10 properties
id*stringA 24-character id
campaign*object | null2 properties
id*stringA 24-character id
name*stringlead*object5 properties
enrollment*stringA 24-character id
person*stringA 24-character id
email*stringname*string | nullstatus*enum<string>activepausedrepliedbouncedunsubscribeddonestopped
mailbox*stringThe address it came to
subject*stringbody*stringTheir words, without what they quoted, at most 8,000 characters
sort*enum<string> | nullWhat it says; null until someone sorts it
interestedquestionnot_nownot_interestedout_of_officeunsubscribewrong_person
sortedBy*object | null3 properties
type*enum<string>personagentapi
id*stringname*stringsummary*string | nullreceivedAt*stringISO 8601 date and time
Errors
400 invalid_inputFix the field named in detail. Each operation's schema is in /api/v1/openapi.json.
401 unauthorizedSend an API key as `Authorization: Bearer tr_live_...`. Create one in Troopy under Settings.
403 forbiddenThe key lacks a scope this operation needs, or its owner lacks the role. detail says which; create a key with the scope, or ask an organization owner or admin.
404 not_foundCheck the path and any id in it. Every operation is listed in /api/v1/openapi.json.
409 conflictThis Idempotency-Key was used for a different request, or that request is still running. Use a new key for a new request.
429 rate_limitedWait the number of seconds in Retry-After, then retry.