Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Allow the usage of personalisation data on endpoint "/marketing/test/send_email" #117

Open
thiagobarbosa opened this issue Dec 2, 2022 · 1 comment

Comments

@thiagobarbosa
Copy link

thiagobarbosa commented Dec 2, 2022

Issue Summary

Currently the endpoint POST /v3/marketing/test/send_email does not accept any personalisation data in the request.
Since the whole point of the dynamic templates is to have personalised data coming from APIs, this endpoint cannot be used for actual realistic tests.
Additionally, since this is the only endpoint that allows you to explicitly use some template version (instead of defaulting to the active one), it makes super difficult to change production emails without having to duplicate templates all over the place.

This whole thing of "how to have stage/production version of the templates" is its own topic, but it would be great if the /marketing/test/send_email endpoint accepted a personalisation object so we can test the template with all the dynamic data it uses.

@github-actions
Copy link

github-actions bot commented Dec 2, 2022

Ahoy! Thank you for opening your first issue here! If this request is regarding troubleshooting your application, please reach out to the support team via https://support.twilio.com. Please note that this repo accepts Issues; however external Pull Requests cannot be accepted because the code is generated using Twilio SendGrid's tooling.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant