# Templates

Templates are used for presenting verifiable credentials to the user in a a pretty, readable and informative way. They can be used on the persisted credentials web view in Truvera workspace or for downloading credentials as PDF document. We have a [Designer function](https://docs.truvera.io/truvera-workspace/create-a-design) in the Truvera Workspace for creating Design templates.

We also have a library <https://github.com/docknetwork/prettyvc> that can be used to create templates and has samples of templates for users that want more customisation for their designs or use the same principal for their wallet credential display.

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/templates" method="post" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/templates" method="get" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/templates/{id}" method="get" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/templates/{id}" method="patch" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}

{% openapi src="<https://swagger-api.truvera.io/openapi.yaml>" path="/templates/{id}" method="delete" %}
<https://swagger-api.truvera.io/openapi.yaml>
{% endopenapi %}
