Email Template

Get Email Template

Get an Email Template by Id or by Source Template Id.

get/communications/emails/templates/{email_template_id}

Request

  • Base URL
    https://api.wodify.com/v1
  • URL
    https://api.wodify.com/v1/communications/emails/templates/{email_template_id}
  • Auth
    none declared. Required headers: x-api-key

Path parameters

email_template_idinteger required

email template id

Query parameters

get_by_source_idboolean

Indicates if the template id provided is a source email template. If true, the email template will be retrieved by source Id. If False, template will be retreived by its Id.

Headers

x-api-keystring required

A valid API key. If you don't have one, please request one through the Automations → Integrations page.

Response

List of segments with their basic data.

idinteger required

Email Template Id

namestring

Name

customer_idinteger

customer id

html_contentstring

html content

Example response

{
  "id": 1234567891234567,
  "customer_id": 1234567891234567,
  "attachments": [
    {
      "file_storage_id": 1234567891234567
    }
  ]
}

Changes

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