To retrieve the source language version of the email you can leave the
language parameter empty. To retrieve a translation of the email you need to provide the language code in the
You can also optionally provide a list of variables as an array of
key:value pairs. The
values that are provided will be substituted in your email where the variables are defined. The
key is the variable name.
To test this endpoint using the Try It feature:
- Copy your Localize API Key into the Header field in the AUTHENTICATION section on the right.
- Fill in all required fields below, and any optional fields as needed.
- Click the Try it button.
- View the results and any error returns on the right side of the screen.
Feel free to copy the sample code provided on the right side of the screen into your source code project to get a start on using this endpoint.
Note that using the Try It feature will affect the data in your Localize dashboard!