files
Write a small file
Changed onStore 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 URLhttps://api.connic.co
- AuthHTTP 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
File Write Request 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
- info
endpoint added
- info