app connect

Deploy Connected App Trigger

Watch one connected app for one kind of event; each event wakes the desk.

post/v1/teams/{team_id}/connect/triggers

Path parameters

team_idstring uuid required

Headers

authorizationstring nullable
x-darwin-tokenstring nullable
x-darwin-run-idstring nullable

Request body

app_slugstring required
trigger_keystring required
wakestring nullable

What the desk does each time the watch fires, in the owner's words.

callobject nullable

Instead of waking the desk: one of this team's own operations each event runs, {"method": "POST", "path": "/email/accounts/<id>/read", "body": {...}} (path under /v1/teams/{team_id}). Runs as the turn that installed the watch.

configured_propsobject
account_idstring nullable
purposestring

Response

Successful Response

object required

Changes

Changed in 1 of the 32 revisions of this API.1

Of the 32 revisions, 1 has no diff computed.