POST
/exportsCreate an export
Creates an export in the requested category. Supply category and the corresponding options object for that export type; export files are generated asynchronously, and a webhook is sent when they are ready.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Export configuration. category is required, and the corresponding options object is required for the selected category.
account_statement_bai2objectoptional
Options for the created export. Required if `category` is equal to `account_statement_bai2`.
account_statement_ofxobjectoptional
Options for the created export. Required if `category` is equal to `account_statement_ofx`.
account_verification_letterobjectoptional
Options for the created export. Required if `category` is equal to `account_verification_letter`.
bookkeeping_account_balance_csvobjectoptional
Options for the created export. Required if `category` is equal to `bookkeeping_account_balance_csv`.
categorystringrequired
The type of Export to create.
daily_account_balance_csvobjectoptional
Options for the created export. Required if `category` is equal to `daily_account_balance_csv`.
entity_csvobjectoptional
Options for the created export. Required if `category` is equal to `entity_csv`.
fee_csvobjectoptional
Options for the created export. Required if `category` is equal to `fee_csv`.
funding_instructionsobjectoptional
Options for the created export. Required if `category` is equal to `funding_instructions`.
transaction_csvobjectoptional
Options for the created export. Required if `category` is equal to `transaction_csv`.
vendor_csvobjectoptional
Options for the created export. Required if `category` is equal to `vendor_csv`.
voided_checkobjectoptional
Options for the created export. Required if `category` is equal to `voided_check`.
200Returns the created export object, including its identifier, category, status, creation time, and result details.
account_statement_bai2objectrequired
Details of the account statement BAI2 export. This field will be present when the `category` is equal to `account_statement_bai2`.
account_statement_ofxobjectrequired
Details of the account statement OFX export. This field will be present when the `category` is equal to `account_statement_ofx`.
account_verification_letterobjectrequired
Details of the account verification letter export. This field will be present when the `category` is equal to `account_verification_letter`.
balance_csvobjectrequired
Details of the balance CSV export. This field will be present when the `category` is equal to `balance_csv`.
bookkeeping_account_balance_csvobjectrequired
Details of the bookkeeping account balance CSV export. This field will be present when the `category` is equal to `bookkeeping_account_balance_csv`.
categorystringrequired
The category of the Export. We may add additional possible values for this enum over time; your application should be able to handle that gracefully.
created_atstringrequired
The time the Export was created.
daily_account_balance_csvobjectrequired
Details of the daily account balance CSV export. This field will be present when the `category` is equal to `daily_account_balance_csv`.
dashboard_table_csvobjectrequired
Details of the dashboard table CSV export. This field will be present when the `category` is equal to `dashboard_table_csv`.
entity_csvobjectrequired
Details of the entity CSV export. This field will be present when the `category` is equal to `entity_csv`.
fee_csvobjectrequired
Details of the fee CSV export. This field will be present when the `category` is equal to `fee_csv`.
form_1099_intobjectrequired
Details of the Form 1099-INT export. This field will be present when the `category` is equal to `form_1099_int`.
form_1099_miscobjectrequired
Details of the Form 1099-MISC export. This field will be present when the `category` is equal to `form_1099_misc`.
funding_instructionsobjectrequired
Details of the funding instructions export. This field will be present when the `category` is equal to `funding_instructions`.
idstringrequired
The Export identifier.
idempotency_keystringrequired
The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](https://increase.com/documentation/idempotency-keys).
resultobjectrequired
The result of the Export. This will be present when the Export's status transitions to `complete`.
statusstringrequired
The status of the Export.
transaction_csvobjectrequired
Details of the transaction CSV export. This field will be present when the `category` is equal to `transaction_csv`.
typestringrequired
A constant representing the object's type. For this resource it will always be `export`.
vendor_csvobjectrequired
Details of the vendor CSV export. This field will be present when the `category` is equal to `vendor_csv`.
voided_checkobjectrequired
Details of the voided check export. This field will be present when the `category` is equal to `voided_check`.
4XXReturned when the request cannot be processed because of a client-side error.
5XXReturned when the service encounters a server-side error.
Error handling
The category field is required and must be one of the supported export categories. Supply the matching options object for the selected category; for example, account_statement_ofx requires account_id, and funding_instructions requires account_number_id.