Method: KlaviyoAPI::TemplatesApi#get_template

Defined in:
lib/klaviyo-api-sdk/api/templates_api.rb

#get_template(id, opts = {}) ⇒ Hash<String, Object>

Get Template Get a template with the given template ID.
*Rate limits*:
Burst: ‘10/s`
Steady: `150/m` Scopes: `templates:read`

Parameters:

  • id (String)

    The ID of template

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

Returns:

  • (Hash<String, Object>)


481
482
483
484
# File 'lib/klaviyo-api-sdk/api/templates_api.rb', line 481

def get_template(id, opts = {})
  data, _status_code, _headers = get_template_with_http_info(id, opts)
  data
end