Skip to content

Dispatches

List dispatches

dispatches:read
ParameterInTypeRequiredDescription
caseIdquerystringNoOnly dispatches for this collection case
invoiceIdquerystringNoOnly dispatches for this invoice
channelquerystringNoEMAIL | SMS | BREV | EBOKS | EAN | DIGITAL_POST
limitqueryintegerNoPage size, 1-200 (default 50)
cursorquerystringNoOpaque cursor from meta.nextCursor
Request exampleNo request body
curl https://api.rieckflow.com/v1/dispatches \
-H "Authorization: Bearer $RIECK_API_KEY"
200 Every dispatch and what became of it, newest first, across both the case track and the invoice track — you should not need to know which table an answer lives in. status: queued, sent, pending_provider, delivered, failed, skipped. ⚠️ queued and skipped are NOT failures: queued means it is waiting (or the provider gave no verdict and the row is frozen), skipped means no channel could be reached for a soft step. sent means we handed it over; delivered requires PROOF. deliveryProvable says whether this channel can prove delivery at all — e-Boks cannot.application/json
Possible errors 5
HTTPCodeMeaning
400invalid_cursorThe cursor is malformed, expired or belongs to another list shape.
401invalid_api_keyThe API key is missing, invalid, expired or revoked.
403api_not_includedThe organisation’s plan does not include API access.
403insufficient_scopeThe key does not have the required scope.
429rate_limitedThe organisation’s rate budget is exhausted.

Get dispatch

dispatches:read
ParameterInTypeRequiredDescription
dispatchIdpathstringYes
Request exampleNo request body
curl https://api.rieckflow.com/v1/dispatches/9b2f1c1e-… \
-H "Authorization: Bearer $RIECK_API_KEY"
200 One dispatch with its status, its delivery proof and openedAt when the recipient opened it. The id is looked up in both tracks, so you never have to remember which one it came from.application/json
Possible errors 4
HTTPCodeMeaning
401invalid_api_keyThe API key is missing, invalid, expired or revoked.
403api_not_includedThe organisation’s plan does not include API access.
403insufficient_scopeThe key does not have the required scope.
429rate_limitedThe organisation’s rate budget is exhausted.

Which channels are open

dispatches:read
Request exampleNo request body
curl https://api.rieckflow.com/v1/dispatch-channels \
-H "Authorization: Bearer $RIECK_API_KEY"
200 Per channel: available, reason when it is not, and deliveryProvable. Three independent layers decide it — the platform feature flag, your own opt-in, and for Digital Post a global production lock — and all three are reflected here, because a channel switched on in your settings but held by the lock would otherwise look open. ⚠️ deliveryProvable: false is the channel’s limit, not an error: an e-Boks dispatch never gets past sent, so do not wait for a dispatch.delivered that cannot come.application/json
Possible errors 4
HTTPCodeMeaning
401invalid_api_keyThe API key is missing, invalid, expired or revoked.
403api_not_includedThe organisation’s plan does not include API access.
403insufficient_scopeThe key does not have the required scope.
429rate_limitedThe organisation’s rate budget is exhausted.