Create a File
Changed onTo upload a file to Increase, you'll need to send a request of Content-Type multipart/form-data. The request should contain the file you would like to upload, as well as the parameters for creating a file.
post/files
Request
- Base URLhttps://api.increase.com
- URLhttps://api.increase.com/files
- AuthHTTP bearer
Request body multipart/form-data
Example request
{
"file": "\"@tax_form.pdf\"",
"purpose": "check_image_front"
}Response
File
Example response
{
"created_at": "2020-01-31T23:59:59Z",
"description": "2022-05 statement for checking account",
"direction": "from_increase",
"filename": "statement.pdf",
"id": "file_makxrc67oh9l6sg7w9yc",
"idempotency_key": null,
"mime_type": "application/pdf",
"purpose": "increase_statement",
"type": "file"
}Changes
- info
the
request property default valueotherwas added
- info
- info
added
subschema #8subschema #10to the///response propertyanyOflist for the response status - info
added
subschema #8subschema #10to the///response propertyanyOflist for the response status - info
removed
subschema #8subschema #10from the///response propertyanyOflist for the response status - info
removed
subschema #8subschema #10from the///response propertyanyOflist for the response status
- info