curl --request POST \
--url https://api.tiro.ooo/v1/external/notes/{noteGuid}/documents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"templateId": 1,
"locale": "ko_KR"
}
'{
"documentId": 456,
"noteId": 123,
"document": {
"id": 456,
"noteGuid": "note-abc123-def456",
"template": {
"id": 1,
"title": "영업 보고서"
},
"locale": "ko_KR",
"sections": [
{
"content": {
"type": "text/plain",
"content": "회의는 신제품 출시 계획에 대해 논의했습니다..."
},
"createdAt": "2025-10-20T12:35:26Z"
}
],
"createdAt": "2025-10-20T12:35:26Z",
"updatedAt": "2025-10-20T12:35:26Z"
},
"createdAt": "2025-10-20T12:35:26Z"
}Generate a note document based on a template. Blocks until completion.
Permissions: UPDATE_CONTENT on note
Template Access: User must own template or have team access
See Template Based Documents for more details.
curl --request POST \
--url https://api.tiro.ooo/v1/external/notes/{noteGuid}/documents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"templateId": 1,
"locale": "ko_KR"
}
'{
"documentId": 456,
"noteId": 123,
"document": {
"id": 456,
"noteGuid": "note-abc123-def456",
"template": {
"id": 1,
"title": "영업 보고서"
},
"locale": "ko_KR",
"sections": [
{
"content": {
"type": "text/plain",
"content": "회의는 신제품 출시 계획에 대해 논의했습니다..."
},
"createdAt": "2025-10-20T12:35:26Z"
}
],
"createdAt": "2025-10-20T12:35:26Z",
"updatedAt": "2025-10-20T12:35:26Z"
},
"createdAt": "2025-10-20T12:35:26Z"
}API key in format {id}.{secret}
Note GUID
Document generated successfully