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
Generated document ID
456
Note ID
123
Complete note document with all sections
Show child attributes
Document ID
456
The GUID of the note this document belongs to
"note-abc123-def456"
Supported language locale
ko_KR, en_US, de_DE, ja_JP, es_ES, fr_FR, id_ID, vi_VN, tr_TR, uk_UA, ru_RU, hi_IN, it_IT, zh_CN, ms_MY, th_TH "ko_KR"
Array of document sections
Show child attributes
Generated section content
Show child attributes
Template section ID associated with this section
12345
Section creation timestamp
"2025-10-20T12:35:26Z"
Document creation timestamp
"2025-10-20T12:35:26Z"
Document last update timestamp
"2025-10-20T13:45:30Z"
Document creation timestamp
"2025-10-20T12:35:26Z"