List email templates only returns a subset

When I do a GET {{url}}/api/v1/brands/{{brandId}}/templates/email

I only get a subset of the email templates back, namely the following:
[
“UserActivation”,
“ForgotPassword”,
“ForgotPasswordDenied”,
“PasswordResetByAdmin”,
“ADUserActivation”,
“ADForgotPasswordDenied”,
“ADForgotPassword”,
“LDAPUserActivation”,
“LDAPForgotPassword”,
“LDAPForgotPasswordDenied”
]

However, according to Customize email notifications | Okta Developer there should be many more.

Why is that?

The endpoint will only return 10 results per page, so you should see a link response header that will help you access the next page of results (as there are certainly more than 10 email templates).

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.