Create a File

This endpoint creates a file.

post/

Request

  • Base URL
    https://api.tap.company/v2/files
  • URL
    https://api.tap.company/v2/files/
  • Auth
    API key in header Authorization

Headers

acceptstring

Request body multipart/form-data

purposestring required

The purpose of the file. Possible values are business_icon, business_logo, customer_signature, dispute_evidence, finance_report_run, identity_document, pci_document, sigma_scheduled_query, or tax_document_user_upload.

filestring binary required

The file to upload. The file should follow the specifications of RFC 2388 (which defines file transfers for the multipart/form-data protocol).

titlestring required

Title of the document

expires_atstring date-time required

A future timestamp after which the link will no longer be usable.

file_link_createboolean required

Whether to create a public link for the newly created file

Response

200

object required

Changes

No recorded changes to this operation across all 1 revision of this API.