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
  • URL: https://api.connic.co/v1/projects/{project_id}/files/{environment_id}/write
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

environment_idstring uuid required

Environment ID from GET /environments.

Request body

pathstring required

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

contentstring nullable

Text content.

content_base64string nullable

Binary content, base64-encoded.

mime_typestring nullable
metadataobject nullable
overwriteboolean

Response

Successful Response

object required

Changes