Export Formats - SMB Sales Boost API
Customize which columns are included in your lead exports. Create and manage export format templates for consistent data delivery. Supports CSV, JSON, and XLSX file types.
Endpoints
GET /api/v1/export-formats- List all your export format templates.
GET /api/v1/export-formats/:id- Get a specific export format by ID.
POST /api/v1/export-formats- Create a new export format with field mappings.
PATCH /api/v1/export-formats/:id- Update an existing export format.
DELETE /api/v1/export-formats/:id- Delete an export format by ID.
POST /api/v1/export-formats/:id/set-default- Set an export format as the default.
Export Format Fields
Each format includes: id, name, fileType, startRow, fieldMappings, isDefault, splitFiles, splitMode, maxRowsPerFile, numberOfParts, includeTotal, includeHeaders, databaseType (always "other", the Main database), combinedAssigneeColumnName, combinedFileNameColumnName, createdAt.
File Splitting Options
max_rows- Split by max rows per file (requires maxRowsPerFile, min 10)
equal_parts- Split into equal parts (requires numberOfParts, min 2)
parts_max_rows- Number of parts with max rows each (requires both)
XLSX files hold at most 20,000 rows each. An export that would put more than 20,000 rows in one xlsx file (a single file, a split part, or the includeTotal file, which holds every lead) returns 400 export_too_large, so an xlsx format for large exports needs splitFiles true, splitMode max_rows, maxRowsPerFile of 20,000 or less and includeTotal false.
API Documentation Sections
Introduction | Programmatic Purchase | Authentication | Rate Limits | Long-Running Requests | User Profile | Enrichments | Leads | Filter Presets | Keyword Lists | Email Schedules | Export Formats | Export History | Lead Export History | Account Settings | AI Features | Export Blacklist | Error Handling | Credits & Subscription | MCP Server | Integrations
Ready to Find Your Next Customers? Get access to growing local business leads updated every 5 minutes. See plans starting at $49/mo →