curl --request POST \
--url https://api.example.com/insight/export/report-docx/{rec_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'report_type=<string>' \
--data version=123 \
--data locale=ru-RU \
--data admonition_support=true{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Export a specific report from a record to DOCX format.
This endpoint fetches a report’s Markdown content from the database and converts it to DOCX format.
Parameters:
Returns:
Errors:
curl --request POST \
--url https://api.example.com/insight/export/report-docx/{rec_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'report_type=<string>' \
--data version=123 \
--data locale=ru-RU \
--data 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?