Generate DOCX from template
POST https://app.cyrion.ai/api/reports/{report_id}/generate-docx
Generate a DOCX file from a report using a template.
If template_id is not provided, it will:
- Look for a template named 'Cyrion_AI_Penetration_Testing_Report_Template' or similar
- Fall back to the first available template
- Generate from scratch if no templates are available
Request body (optional):
- company_name: Company name to display on the report
- company_logo: Base64 encoded logo or data URL
Path parameters
report_id(string, required)
Query parameters
template_id(integer): Template ID to use. If not provided, uses the default or first available template.
Request body
company_logo(string)company_name(string)
Responses
200Successful Response422Validation Error