# Templates

## template/get

> Retrieve available message templates for 2FA delivery.

```json
{"openapi":"3.1.0","info":{"title":"messaging-2fa-api","version":"1.0"},"servers":[{"url":"https://messaging-api.bind.hr"}],"security":[{"default":[]}],"components":{"securitySchemes":{"default":{"type":"apiKey","in":"header","name":"X-API-KEY"}}},"paths":{"/v1.0/2fa/template":{"get":{"summary":"template/get","description":"Retrieve available message templates for 2FA delivery.","operationId":"2fa-api-template-get-endpoint","tags":["Templates"],"responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"from":{"type":"string"},"text":{"type":"string"},"ttl":{"type":"integer","default":0}}}}}}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"error_message":{"type":"string"}}}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"error_message":{"type":"string"}}}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"error_message":{"type":"string"}}}}}}},"deprecated":false}}}}
```
