Config

Create Template

Add Template.

post/admin/config/templates

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/config/templates
  • Auth: HTTP basic

Request body

titlestring required

Unique title of template

type'customer-portal' | 'inventory-notifications-mail' | 'inventory-notifications-sms' | 'invoice-pdf' | 'mail' | 'sms' | 'documents' | 'cards' | 'payment-calendar' | 'payment-receipt' | 'request-pdf' | 'reminder-mail' | 'reminder-sms' | 'monitoring-notification-mail' | 'monitoring-notification-sms' | 'exports' | 'tickets' | 'tickets-sms' | 'ticket-automation' | 'mail_cap' | 'sms_cap' | 'internal' | 'mail_fup' | 'sms_fup' | 'report_statements' | 'quote-pdf' | 'scheduling-notifications-mail' | 'scheduling-notifications-sms' | 'crm_notifications' | 'comment_reminders' | 'gdpr-notification' | 'terms' | 'mention_notifications_mail' | 'credit-note-pdf' | 'service_order' required

Template category

subjectstring
descriptionstring
codestring

HTML

Example request

{
  "title": "Template title",
  "type": "mail",
  "subject": "Template subject",
  "description": "Template description",
  "code": "Template body"
}

Response

idnumber required

Template ID

Example response

{
  "id": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.