sendgridsendgrid-api-v3sendgrid-templates

SendGrid copy template from Subuser to Parent Account


I need to copy some my Dynamic Templates from Subuser to my ParentAccount.

Can I do it? Or I can't?


Solution

  • 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/retrieve-a-single-transactional-template

    https://docs.sendgrid.com/api-reference/transactional-templates/create-a-transactional-template