---
title: "Get the list of all OAuth2 client registration templates (getClientRegistrationTemplates)

Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority."
method: GET
path: "/api/mail/config/template"
tags: ["mail-config-template-controller"]
---

# Get the list of all OAuth2 client registration templates (getClientRegistrationTemplates)

Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.

`GET /api/mail/config/template`

Mail configuration template is set of default smtp settings for mail server that specific provider supports

## Response `200`

OK

- unknown

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
