Query Endpoints
get
Retrieve a paginated list of inbox items.Search query for filename or content
Filter by status: “processing” | “pending” | “matched” | “archived”
Array of sort objects
Number of results per page
getById
Retrieve a specific inbox item by ID.Inbox item UUID
getByStatus
Get inbox items filtered by status.Status to filter by
Array of inbox item objects
search
Search inbox items (for transaction matching).Search query
Transaction UUID to match against
Maximum number of results (default: 10)
Array of matching inbox items
checkAttachments
Check if an inbox item is attached to transactions/invoices.Inbox item UUID
Mutation Endpoints
create
Create a new inbox item (after file upload).Original filename
Storage path tokens
MIME type
File size in bytes
Created inbox item
processAttachments
Trigger processing for uploaded attachments.Array of attachment objects to process
update
Update an inbox item.Inbox item UUID
New display name
New status
delete
Delete an inbox item and its file.Inbox item UUID
deleteMany
Delete multiple inbox items at once.Array of inbox item UUIDs
Transaction Matching
matchTransaction
Manually match an inbox item to a transaction.Inbox item UUID
Transaction UUID to match
Updated inbox item with transaction link
unmatchTransaction
Remove transaction match from an inbox item.Inbox item UUID
confirmMatch
Confirm an AI-suggested transaction match.Suggestion UUID
Inbox item UUID
Transaction UUID
declineMatch
Decline an AI-suggested transaction match.Suggestion UUID
Inbox item UUID
retryMatching
Retry AI matching for an inbox item.Inbox item UUID
Blocklist Management
blocklist.get
Get the inbox blocklist (filtered senders/domains).Array of blocklist entry objects
blocklist.create
Add an entry to the blocklist.“email” | “domain”
Email address or domain to block
blocklist.delete
Remove an entry from the blocklist.Blocklist entry UUID
Email Integration
The inbox automatically processes attachments from connected email accounts.Setting Up Email Integration
- Connect an email account via the inboxAccounts tRPC router
- Email attachments are automatically synced
- AI extracts vendor info and suggests transaction matches
- Confirm or decline matches in the UI
Automatic Processing
When an email attachment is received:- Extract - OCR and text extraction
- Analyze - AI identifies vendor, amount, date
- Match - Vector search finds similar transactions
- Suggest - Top matches presented for confirmation