API reference / Routines and triggers
Send a test event
Sends an example event to a trigger that is on. It starts the teammate for real, and the task says that it is a test. The limit of the day does not hold it back. Needs an owner or admin.
/api/v1/triggers/{id}/testOther ways to call it
troopy triggers testtroopy_test_triggerIdempotency-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
Response
201 · application/jsondata*object8 properties
id*stringA 24-character id
at*stringISO 8601 date and time
summary*stringWhat the sender calls the event, like issues.opened or invoice.paid. For an event of Troopy, its id. Empty when the sender does not say
test*booleanA person sent it with Send test event
state*enum<string>waitingtaskheld
why*enum<string> | nullWhy it started nothing: paused, or the limit of the day
pausedlimit
task*object | nullThe task that holds it. Its status says how the work goes
2 properties
key*stringstatus*enum<string>backlogtodoin_progressneeds_youin_reviewdonecanceled
text*string | nullWhat the event said, as Troopy keeps it: at most 48,000 characters, with secrets hidden. An event of Troopy names its record. Owners and admins only