curl --request POST \
--url https://api.example.com/insight/export/docx \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'record_id=<string>' \
--form locale=ru-RU \
--form title=Export \
--form admonition_support=true{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Convert Markdown file to DOCX format using Pandoc.
This endpoint accepts a Markdown file and converts it to Microsoft Word (.docx) format with support for custom admonition blocks (ad-info, ad-warning, ad-tip).
Parameters:
Returns:
Errors:
curl --request POST \
--url https://api.example.com/insight/export/docx \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form 'record_id=<string>' \
--form locale=ru-RU \
--form title=Export \
--form admonition_support=true{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Was this page helpful?