Skip to content

Create PDF Template

POST
/api/pdf-reports/templates

Create a new PDF template for the organization

Authorizations

ApiKeyAuth

API key for authentication. Get your API key from the dashboard.

Type
API Key (header: X-Api-Key)

Request Body

application/json
JSON
{
  
"data": {
  
  
"type": "templates",
  
  
"attributes": {
  
  
  
"name": "string",
  
  
  
"description": "string",
  
  
  
"reportType": "string",
  
  
  
"editorConfig": "string",
  
  
  
"pageSettings": "string",
  
  
  
"customCss": "string",
  
  
  
"isDefault": true,
  
  
  
"isActive": true
  
  
}
  
}
}

Responses

Created PDF template

application/vnd.api+json
JSON
[
]

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

AstroAPI Documentation