# ProofOfInsuranceApis.TemplatesApi

All URIs are relative to *https://api.m2digitalbroker.com/proxy/certificates/v1*

Method | HTTP request | Description
------------- | ------------- | -------------
[**clientsTemplatesGet**](TemplatesApi.md#clientsTemplatesGet) | **GET** /clients/templates | Get User Details


<a name="clientsTemplatesGet"></a>
# **clientsTemplatesGet**
> [Template] clientsTemplatesGet(opts)

Get User Details

Get user details

### Example
```javascript
var ProofOfInsuranceApis = require('proof_of_insurance_apis');
var defaultClient = ProofOfInsuranceApis.ApiClient.instance;

// Configure API key authorization: JWT
var JWT = defaultClient.authentications['JWT'];
JWT.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//JWT.apiKeyPrefix = 'Token';

var apiInstance = new ProofOfInsuranceApis.TemplatesApi();

var opts = { 
  'clientId': 8.14, // Number | client id for which the coitypes have to be retrieved
  'formId': 8.14, // Number | depending on the form_id selected, return corresponding templates for the given client_id
  'authorization': "authorization_example", // String | Bearer $USER_TOKEN
  'contentType': "contentType_example" // String | application/json
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.clientsTemplatesGet(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **clientId** | **Number**| client id for which the coitypes have to be retrieved | [optional] 
 **formId** | **Number**| depending on the form_id selected, return corresponding templates for the given client_id | [optional] 
 **authorization** | **String**| Bearer $USER_TOKEN | [optional] 
 **contentType** | **String**| application/json | [optional] 

### Return type

[**[Template]**](Template.md)

### Authorization

[JWT](../README.md#JWT)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json; charset=utf-8

