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.
Delivery Contract
WhenclientWebhookUrl is present on a case, Offload sends:
- sends only one request per event
- treats any
2xxas success - does not sign events
- does not retry failures
Common Envelope
Event Types
case.completed
Sent when the case becomes COMPLETED.
case.failed
Sent when the case becomes FAILED.
resultStatus values include:
max_retriesfailed_rejectedBOUNCEDCOMPLAINEDREJECTED
case.input_needed
Sent when the worker pauses the case and needs your input.
Fields In data
| Field | Present when |
|---|---|
caseId | Always |
clientReferenceId | When provided at case creation |
status | Always |
channel | Always |
attemptCount | Always |
attachments | Always |
result | Usually on case.completed |
metadata | When provided at case creation |
resultStatus | Terminal and workflow outcome cases |
failureReason | Some case.failed events |
inputRequest | case.input_needed |
inputRequestId | case.input_needed |
inputRequestStatus | case.input_needed |
inputRequestedAt | case.input_needed |
Handling Advice
- Deduplicate on
event_id. - Persist the full payload.
- Return a fast
2xx. - Use the attachments endpoint when you need a fresh file URL.
- Poll important cases for reconciliation because failed webhooks are not retried.