files

Write a small file

Changed on

Store a small file in one request. Use an upload for large files.

Required permission: files.manage.

post/v1/projects/{project_id}/files/{environment_id}/write

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

environment_id, string uuid required

Environment ID from GET /environments.

Request body

FileWriteRequest required
path, string required

File path such as invoices/2026/acme.pdf.

content, string nullable

Text content.

content_base64, string nullable

Binary content, base64-encoded.

mime_type, string nullable
metadata, object nullable
overwrite, boolean

Response

Successful Response

object required

Changes