FileCap REST API: Send files securely from your own software

Sending files from your own software without requiring users to log in to the FileCap portal: that’s what the FileCap REST API is designed for. Integrate secure file transfer and encrypted email directly into your own application, using a fully documented API, an OpenAPI specification, and a ready-to-use Postman collection.

Try 30 days free
Available for
Diagram: Custom software connects to secure, encrypted file transfer via the FileCap REST API.

Sending files from your own software without requiring users to log in to the FileCap portal: that’s what the FileCap REST API is designed for. If you’re a software vendor or IT department working on an integration between your own application and secure file transfer or encrypted email, you can call that functionality directly from your own system.
‍

What can you do with the FileCap REST API?

The API makes it possible to send files and messages programmatically through FileCap—including recipient registration and verification—without going through the web portal. This allows you, for example, to integrate FileCap with a CRM system, a document management environment, or your own customer portal, so that secure transmission becomes part of an existing process rather than a separate step for the user.

The API is fully documented with an OpenAPI specification and a ready-to-use Postman collection, so you can quickly test and build your requests without starting from scratch.

The same security features that FileCap offers in the Outlook add-in and the web portal—encryption, recipient verification, and control over who can open files—remain fully intact when using the API. So you don’t need to build your own security layer; you simply include the parameters that determine how that security is applied for each transmission.
‍

Structure of an API Call

Registration and verification calls are sent as application/json. The actual file upload occurs as multipart/form-data. There is an important technical requirement here: the fileMetadata field, which contains filename, size, and mimetype, must appear in the request before the file itself. If this field appears after the file, the API will not process the request correctly. This is a common point of attention during initial implementation.
‍

Configuring Verification Methods via the API

When creating a transfer, you decide how the recipient must verify their identity before the files become accessible. The API supports four methods: PASSWORD for a preset password, EMAIL_ACCESS_CODE for a one-time code sent via email, SMS for verification using a code sent to the recipient’s mobile number, and NONE for immediate access without an additional verification step.

If you want to enable SMS verification, add the phone number after the recipient's email address, separated by a pipe character (|). If you forget that character, the number won't be recognized, and the verification will fall back to the standard method.
‍

Documentation and sample code

An example of a message where the recipient must verify via text message:

{
  "recipients": [
    {
      "email": "naam@bedrijf.nl|+31612345678",
      "verificationMethod": "SMS"
    }
  ]
}
POST /api/v1/transfers/{transferId}/files
Content-Type: multipart/form-data

fileMetadata: {"filename": "contract.pdf", "size": 348213, "mimetype": "application/pdf"}
file: [binaire bestandsinhoud]

The complete technical documentation, including the OpenAPI specification, the Postman collection, a Swagger overview, and a PDF reference guide, can be found on our API documentation page for administrators.
‍

What the API Does Not (Yet) Offer

To be clear: there is currently no API endpoint available for usage or transfer statistics. If you want to see shipping volumes or usage, you’ll need to retrieve that data through the management portal itself for now, rather than programmatically via the API.
‍

Getting Started

Are you unsure whether the FileCap REST API is a good fit for your integration, or are you encountering an error message during implementation? Contact our support team—they’ll be happy to help you figure out how to integrate it with your system. Would you like to try out FileCap yourself before building the integration? Start a free 30-day trial or request a demo.

‍

Features

With FileCap, you can...

Send e-mails & files securely

The FileCap add-in makes sending a secure email or sensitive files child's play. Check out how it works below:

Receive emails & files securely

Invite someone to send you large files or a message securely with FileCap. Fast and simple!

Using multiple verification methods

Choose one of four available authentication methods: password, code via email, code via SMS or a company password. Sending extra sensitive information? Simply use a second verification.

Apply your own corporate identity

Customize your FileCap portal with a large background, your company logo and, of course, matching colors. The emails that you send with FileCap will also automatically receive your house style. Very familiar for your customers.

BDO FileCap Portal

Reduce the risk of data breaches

By taking advantage of the additional security options, business rules to monitor the content of emails and messages and the ability to retract sent messages, you reduce the likelihood of data breaches.

View all features
The following companies use FileCap
FileCap arrow pointing upward

Try 30 days for free

Completely free of charge
Completely non-binding
Without limitations