POST
/
v1
/
{tenantId}
/
files
curl --request POST \
  --url https://api.debbiecollect.com/v1/{tenantId}/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "content": "Base64 encoded file content",
  "contentType": "application/pdf",
  "name": "file.pdf"
}'
This response has no body data.

Authorizations

Authorization
string
header
required

Authentication can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}.

Path Parameters

tenantId
string
required

Id of the tenant the file is being created for

Body

application/json

New file object

The body is of type object.