v2024-01-31
Search...
/
API Status
Partner Portal
Home
Guides
API Explorer
GitHub
Support
Home
Guides
API Explorer
GitHub
Support
API Concepts
Overview
Environments and URLs
Authentication
API versioning
Rate limiting
HTTP headers
Pagination, sorting, and filtering
General
Access tokens
Partner settings
Webhook subscriptions
Webhook deliveries
Events
Common
Entities
Entity bank accounts
Entity persons
Entity VAT IDs
Roles
Entity users
Counterparts
Counterpart addresses
Counterpart bank accounts
Counterpart contacts
Counterpart VAT IDs
Payment records
Projects
Tags
Accounts payable
Approval policies
Approval requests
Comments
Payable line items
Payables
Purchase orders
Accounts receivable
Measure units
Overdue reminders
Payment reminders
Payment terms
Products
Receivables
Recurrences
VAT rates
Payments
Batch payments
Entity bank account verifications
Entity onboarding data
Onboarding documents
Onboarding links
Onboarding requirements
Payment intents
Payment links
Payment methods
Accounting integration
Accounting connections
Accounting data pull
Accounting synchronized records
Accounting tax rates
Ledger accounts
Utilities
Audit logs
Data export
Data export - extra data
Files
Mail templates
Mailbox domains
Mailboxes
PDF templates
GET
Get PDF templates
GET
Get built-in PDF templates
GET
Get a PDF template by ID
POST
Set the default PDF template
GET
Preview a PDF template
Text templates
API Status
Partner Portal
Utilities
PDF templates
Set the default PDF template
POST
https://
api.sandbox.monite.com/v1
/
document_templates
/
:document_template_id
/
make_default
Path parameters
document_template_id
string
Required
Headers
Auth
Authorization
string
Required
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-version
string
Required
x-monite-entity-id
string
Required
The ID of the entity that owns the requested resource.
Response
Successful Response
id
string
document_type
enum
Show 7 enum values
is_default
boolean
language
string
name
string
template
string
created_at
datetime
Optional
updated_at
datetime
Optional
blocks
list of strings
Optional
preview
object
Optional
Show 13 properties
template_type
"block" or "source_object"
Optional
Allowed values:
block
source_object
Errors
422
Unprocessable Entity
500
Internal Server Error
Preview a PDF template
Up Next