Workflows
How couriers join, deliver and call
01
Registration & approval
Step 1
Open the public application
No account is created during registration.
Step 2
Provide contact details
Submit full name, email, phone, location and why you want to join.
Step 3
Give consent
Consent is required before the application can be sent.
Step 4
Submit for review
The client sends a UUID Idempotency-Key and accepts only HTTP 201 with an application ID and pending_review status.
Step 5
Manual decision
Applications remain pending_review until an administrator records accepted or denied.
Step 6
Owner provisioning
Acceptance does not create an Auth account or courier role. An owner must provision both separately.
Applicants never reach delivery screens or data until Admin approves them.
02
Delivery status workflow
Assignment received
assigned
Assignment accepted
accepted
Travelling to destination
en_route
Arrived at destination
arrived
Delivery completed
completed
Delivery issue reported
Can be reported from: Assignment accepted, Travelling to destination, Arrived at destination. Only Office can resolve it and move the delivery on.
Delivery safeguards
- • Couriers can't skip steps — e.g. arrived → completed is rejected.
- • Completion requires the customer's 8-digit handover code through
complete_delivery; it is not a status transition. - • The customer must request the code in the Customer app; it expires after 30 minutes.
- • Couriers can never mark an order paid or edit fees.
03
In-app customer calling (blocked)
In-app calling
Blocked: no call-session API, authorization rules, provider, or response contract is documented.
Never the wrong customer
- • Do not add call-session tables, RPCs, provider configuration, or client behavior by assumption.
- • The Courier app can read recipient phone details only through the documented active-assignment delivery-details policy.
- • Request an owner-approved call contract before enabling calling UI.
04
Notifications
| Event | Channel | Priority | Opens |
|---|---|---|---|
| Courier inbox and push delivery | Not documented | Blocked | Define and approve a courier notification contract before implementation |
