Offload lets your application create a case, hand the outreach loop to Offload, and receive the outcome back as either structured JSON, a failure state, or a request for human input. The implementation in this workspace is queue-driven and email-first:Documentation Index
Fetch the complete documentation index at: https://docs.offloadapi.com/llms.txt
Use this file to discover all available pages before exploring further.
POST /casesstores the case and queues initial processing.- A background worker sends the first message, evaluates replies, and schedules follow-ups.
- Offload emits webhook events only when a case
COMPLETED,FAILED, or moved toINPUT_NEEDED. - Your app can poll
GET /cases/{id}at any time and can resume paused work withPOST /cases/{id}/input.
What Offload Is Good At
- Collecting documents or confirmations from a single person or team over email
- Turning a reply thread into a structured
result - Pausing when a human decision is needed and resuming later
- Tracking inbound attachments separately from extracted result data
What Is Implemented Today
- Public routes:
POST /casesGET /cases/{id}GET /cases/{id}/attachments/{attachmentId}POST /cases/{id}/input
- Authentication with the
x-api-keyheader - Email-thread execution backed by AgentMail
- Async processing via SQS plus worker-side idempotency
Important Current Constraints
- The request schema accepts
channel: "SMS", but the implemented workflow is email-based. UseEMAIL. - Webhook delivery is a single HTTP
POSTattempt with no signature header and no application-level retry. POST /casesdoes not support an idempotency key. Repeating the same request creates a new case.- When no follow-up is scheduled,
nextActionAtis currently stored and returned as the sentinel value253402300799999.
Start Here
Quickstart
Create a case, receive a webhook, resume input-needed work, and fetch attachments.
Cases
Understand the case object, defaults, counters, and field semantics.
Lifecycle
See how cases move between
CREATED, RUNNING, INPUT_NEEDED, COMPLETED, and FAILED.Webhook Events
Review the exact webhook envelope and delivery behavior.