v2024-01-31
Search...
/
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
GET
Get All With Filters
POST
Create
POST
Preview
GET
Get All System Templates
GET
Get
DEL
Delete
PATCH
Update
POST
Make Default
Mailbox domains
Mailboxes
PDF templates
Text templates
Partner Portal
Utilities
Mail templates
Update
PATCH
https://
api.sandbox.monite.com/v1
/
mail_templates
/
:template_id
Update custom template by ID
Path parameters
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
Request
This endpoint expects an object.
body_template
string
Optional
Jinja2 compatible string with email body
language
enum
Optional
Lowercase ISO code of language
Show 180 enum values
name
string
Optional
Custom template name
subject_template
string
Optional
Jinja2 compatible string with email subject
Response
This endpoint returns an object.
id
string
ID of email template
created_at
datetime
Template created date and time
updated_at
datetime
Template updated date and time
body_template
string
Jinja2 compatible email body template
is_default
boolean
Is default template
language
string
Lowercase ISO code of language
name
string
Name of the template
subject_template
string
Jinja2 compatible email subject template
type
string
Document type of content
Errors
422
Unprocessable Entity
500
Internal Server Error