Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Historical sync parameters
The unique identifier of the connection to sync
1Start date in YYYY-MM-DD format
End date in YYYY-MM-DD format
Whether to fetch all invoices or only OPEN ones
Whether to enqueue to SQS for distributed processing
Optional array that will not work with date range to fetch a specific list of invoices
Optional array of customer IDs to sync (for rutter integrations use emails)
Type of sync job to run
sync_customer, sync_invoice Optional Slack username to notify when sync completes (without @)
Historical sync triggered successfully
health_status_ok, health_status_error, validation_error, bad_request, unauthorized, forbidden, not_found, method_not_allowed, internal_server_error, organization_not_found, cannot_access_organization, api_key_not_found, resource_already_exists