Skip to main content
POST
Upload file

Authorizations

Authorization
string
header
required

Authentication with an API key can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}. API keys are issued and revoked directly from the creditor portal under Developers > API.

Path Parameters

tenantId
string<uuid>
required

Id of your debt collection partner's tenant. You can find it on the API page in the creditor portal.

Body

application/json

New file object

content
string
required

Base64 encoded file content

contentType
string
required

The content type of the file

name
string
required

The name of the file

Response

Successful operation

id
string<uuid>
required

Id of the created file

contentType
string
required

The content type of the file

fileName
string

The name of the file