Pull recent mail now
Fetches recent messages for this org's connected mailboxes and records anything new. The inbox calls it on open, because neither path that normally delivers a reply — the provider webhook or the periodic sync — runs on a developer machine, and a fresh deployment would otherwise show an empty inbox until the first scheduled tick. Idempotent: everything dedupes on the provider's message id.
Fetches recent messages for this org's connected mailboxes and records anything new. The inbox calls it on open, because neither path that normally delivers a reply — the provider webhook or the periodic sync — runs on a developer machine, and a fresh deployment would otherwise show an empty inbox until the first scheduled tick. Idempotent: everything dedupes on the provider's message id.
API key (sk_live_... prefix). Generate keys in the UI under Settings > API Keys, then send it as Authorization: Bearer sk_live_...
In: header
Response Body
application/json
application/json
application/json
curl -X POST "https://loading/api/v1/org/communications/sync"{
"data": {
"accounts": -9007199254740991,
"fetched": -9007199254740991,
"stored": -9007199254740991,
"errors": [
"string"
]
}
}{
"error": "string",
"message": "string",
"statusCode": -9007199254740991
}{
"error": "module_required",
"module": "string",
"message": "string",
"contact": "string"
}Reply to a conversation POST
Send a reply through the same connected account the sequencer sends from, so the district sees one continuous conversation. The reply is recorded on the timeline. A provider failure returns 502 rather than being retried — someone is watching, and a silent retry would either duplicate the message or look like nothing happened.
The org's own files GET
Files the org has uploaded, newest first. `folder` narrows it; today the only folder in use is `email-attachments`.