This article is for the Okta Admins who may want to view, update, or create email customizations using API calls. The following procedure/steps can be used to get the required IDs.
- Customization
- API
The following calls are intended to be used in order to use the ID from the previous call in the next call. For example, the Get Brands call should list all brands on the tenant. Then, take the Brand ID of the desired brand to modify from the output of the first call and plug it into the next API call to list the email templates for that brand. The IDs to look for are brandId, templateName, and customizationId :
- Get brands (get brandID): {{url}}/api/v1/brands
- List email templates (get templateName): {{url}}/api/v1/brands/{{brandId}}/templates/email
- Get email template: {{url}}/api/v1/brands/{{brandId}}/templates/email/{{templateName}}
- List email customizations (get customizationId): {{url}}/api/v1/brands/{{brandId}}/templates/email/{{templateName}}/customizations
- Get email customization: {{url}}/api/v1/brands/{{brandId}}/templates/email/{{templateName}}/customizations/{{customizationId}}
