Reputation: 66
I need to copy some my Dynamic Templates from Subuser to my ParentAccount.
Can I do it? Or I can't?
Upvotes: 1
Views: 1434
Reputation: 1137
In case anyone comes accross this Q, you can do this in Sendgrid's Dynamic Template UI.
In the Dynamic Template source, go Build -> Advanced -> Export.
In the Dynamic Template destination, go Build -> Advanced -> Import Drag & Drop HTML.
I can't find this mentioned in any docs online, but screenshot here:
Upvotes: 1
Reputation: 21
Yes you can. You need to create an API Key on your SubUser that can read your Dynamic Templates. Once done, get it by ID with your subuser API Key, then call another API to create a Dynamic Templates with you Parent account API Key.
https://docs.sendgrid.com/api-reference/transactional-templates/create-a-transactional-template
Upvotes: 2