# Get templates Retrieves a paginated list of templates, optionally filtered by template type. Endpoint: GET /v2/campaign-manager/templates Version: v2 Security: oauth2 ## Query parameters: - `pageNumber` (integer) - `pageSize` (integer) - `templateType` (integer) Enum: "InitiateEmail", "ReminderEmail", "FailureReinitiateEmail", "OtpEmail", "PushEmail" ## Response 200 fields (application/json): - `pageNumber` (integer) - `pageSize` (integer) - `totalPages` (integer) - `totalItems` (integer) - `data` (array) - `data.id` (string) The unique identifier for the template. - `data.templateType` (integer) Enum: "InitiateEmail", "ReminderEmail", "FailureReinitiateEmail", "OtpEmail", "PushEmail" - `data.name` (string) The name of the template. - `data.isActive` (boolean,null) Indicates whether a template is active or not. If this is disabled, this template will not be used. - `data.contentFields` (object) The dictionary is used to store context fields. The template consists of content fields.When creating new template, all of the content fields need to be provided. The required content fields are defined in 'Template Type Schema' model. ## Response 401 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) ## Response 403 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null)