Endpoint#
| Property | Value |
|---|
| Type | mutation |
| Method | POST |
| Path | /api/external/v1/project_templates/create_files |
| Handler | OperatelyWeb.Api.ProjectTemplates.CreateFiles |
Authentication#
- Requires a valid API token.
- Requires a write-enabled token.
- Read-only tokens return
403.
| Field | Type | Required | Nullable | Default |
|---|
template_id | id primitive (encoded as string) | Yes | No | - |
parent_folder_id | id primitive (encoded as string) | No | Yes | - |
files | array of project_template_uploaded_file object | Yes | No | - |
Outputs#
| Field | Type | Required | Nullable |
|---|
files | array of project_template_resource_file object | Yes | No |
cURL Example#
Copiedcurl --request POST \
--url "https://app.operately.com/api/external/v1/project_templates/create_files" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
--header "Content-Type: application/json" \
--data '{"files":[{"blob_id":"value", "description":"value", "name":"value", "preview_blob_id":"value"}], "parent_folder_id":"value", "template_id":"value"}'
Response Example#
{
"files": [
{
"__typename": "value",
"author": "<person>",
"blob": "<blob>",
"description": "value",
"id": "value",
"inserted_at": "2026-01-01T09:30:00Z",
"name": "value",
"node_id": "value",
"preview_blob": "<blob>",
"updated_at": "2026-01-01T09:30:00Z"
}
]
}