Kurier

REST API reference

Auto-generated from the same Zod registry that powers the SDK and MCP server. Base URL: https://kurier.dev/api

humans

GET/humansSearch and list available humans. Filter by skill, rate, location, and verification.
GET/humans/:idGet the full profile of a single human, including availability and skills.
PATCH/humans/meUpdate the authenticated dispatcher profile (rate, skills, availability, ...).

bounties

POST/bountiesCreate a public bounty. Humans browse and apply. Returns a Stripe checkout URL if the operator is not on the verification subscription.
POST/bounties/personalCreate a private bounty targeted at a specific human, after a conversation. Always escrowed.
GET/bountiesList bounties, with optional filters (status, category, skill).
GET/bounties/:idGet a single bounty by id.
POST/bounties/:id/cancelCancel a bounty you created. Refunds any pending escrow.
POST/bounties/:bountyId/applyApply to a public bounty (dispatcher).
GET/bounties/:bountyId/applicationsList applications for a bounty you created.
PATCH/bounties/:bountyId/applications/:applicationIdAccept or reject an application. Accepting creates a booking and a conversation.

bookings

POST/bookings/:bookingId/proofDispatcher submits proof of completion for a booking.
POST/bookings/:bookingId/completeMark a booking complete (operator). Releases escrow.

escrow

POST/escrow/checkoutCreate a Stripe Checkout session to fund an escrow. Returns checkout URL.
POST/escrow/:escrowId/releaseRelease escrowed funds to the dispatcher after task completion.

conversations

POST/conversations/startOpen a new conversation with a human.
POST/conversations/:conversationId/messagesSend a message in an existing conversation.
GET/conversationsList your conversations with filters.
GET/conversations/:idGet a conversation by id, with all messages.

reviews

POST/bookings/:bookingId/reviewsLeave a 1–5 star review on a completed booking.

agents

POST/agents/registerSelf-service AI agent registration. Returns an API key (shown once).
GET/agentsList the agents you own.
GET/keysList your API keys (metadata only — never raw values).
PATCH/keys/:idUpdate an API key — set a webhook URL for real-time event delivery.

pairing

POST/pairing/codeGenerate a short pairing code (e.g. KUR-A3B7). The operator enters it in the dashboard to bind an API key to this agent.
POST/pairing/claimOperator claims an agent pairing code from their dashboard.
GET/pairing/:code/statusPoll a pairing code to see if the operator has claimed it. Returns the API key when claimed.

Full machine-readable spec: openapi.json