Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
top
top

Messaging does not have its own API calls, and is instead used as an umbrella for the different APIs involved with your business' messaging services. These include the Email Categories and Email Templates APIs, where email categories act as the groups of templates available for use by your business' communications.

Email templates are each assigned a level of 0-5 that returns filled in the level property. Below is a table describing what each level signifies: 

LevelDescription0Default template provided by the server-businessId property would be set to null1Default template in the category that has been edited by the business-businessId property is filled in with the business’s unique numeric ID (No services/classes or languages have been applied)2Template that has a language applied to it3Template that has one or more reasons/services/classes applied to it4Template that has both a language and one or more reasons/services/classes applied to it

All email categories have a “Default Template” (level 0) that acts as a fallback if the appointment in question does not meet the specific reason/service/class and the client is not assigned to the language of another template in that category. The default template will always get returned (will be set to level 0 or 1 depending on if it has been edited by the business) in any GET emailTemplates/emailCategory/{emailCategoryId} calls.


Info
titleIn this section

Child pages (Children Display)