Interface TemplatesServiceV1


public interface TemplatesServiceV1
Templates V1

Version 1 endpoints for managing message templates.

Currently maintained for existing users.

Version 2 is recommended.

Since:
1.3
See Also:
  • Method Details

    • list

      List all templates belonging to a project ID.
      Returns:
      List of templates
      Since:
      1.3
    • create

      TemplateV1 create(TemplateV1 template)
      Creates a template
      Parameters:
      template - Information for creation
      Returns:
      Created template
      Since:
      1.3
    • get

      TemplateV1 get(String templateId)
      Get a template
      Parameters:
      templateId - The ID of the template to fetch.
      Returns:
      The template information
      Since:
      1.3
    • delete

      void delete(String templateId)
      Delete a template
      Parameters:
      templateId - The ID of the template to delete.
      Since:
      1.3
    • update

      TemplateV1 update(String templateId, TemplateV1 template)
      Updates a template
      Parameters:
      template - Information to be updated
      Returns:
      Updated template
      Since:
      1.3