Export bulk transaction, sundries, DATEV, or client-course data from Phorest asynchronously via the CSV Export Job endpoint
domain: developer.phorest.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
POST to /third-party-api-server/api/business/{businessId}/branch/{branchId}/csvexportjob with a jobType of TRANSACTIONS_CSV, SUNDRIES_CSV, DATEV_CSV, or CLIENT_COURSES_CSV plus a startFilter/finishFilter date range.
Read the jobId returned in the response (the job starts in SCHEDULED status).
Poll GET /third-party-api-server/api/business/{businessId}/branch/{branchId}/csvexportjob/{jobId} until jobStatus reports DONE, or inspect failureReason if it fails.
On success, download the CSV from the tempCsvExternalUrl (a signed, time-limited S3 URL) included in the completed job response.
Optionally cross-check the export in the Phorest UI under Manager > Business > CSV Exports.
Known gotchas
tempCsvExternalUrl is a signed URL with a short expiry window (on the order of 30 minutes based on the response's own signature parameters) — download promptly rather than storing the URL for later use.
TRANSACTIONS_CSV reproduces the data behind Phorest's Sales Transactions report (Manager > Reports > Additional Reports), so use it for reconciliation rather than assuming a simpler live sales endpoint exists.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?