/LESSON 5

Step 3

Display templates

Build a branded template chooser with Duda's API


Let your clients kick off their website journey with a template that fits their needs. By adding a template selection step to your DIY site creation flow, you create a more intuitive, guided experience that simplifies site setup and empowers your clients from the start.


In this lesson, you’ll learn how to use the List Templates API to fetch all templates available in your Duda account, including both Duda’s default templates and any custom ones your team has created. We'll also explore the Template Object, highlighting key fields like the  template_id , which plays a critical role when generating a site programmatically based on a selected layout.


While the API call returns the full list of templates in your account, you have full control over what’s shown—so you can curate the options and deliver a branded, customized experience that fits your specific workflow.

API Endpoint

GET https://api.duda.co/api/sites/multiscreen/templates


Retrieves a list of all available templates in your account, including both Duda-provided and custom templates.

Documentation:
Developer Reference – List Templates | Template Object

Build a template chooser

This guide covers the fundamentals to how to build a template chooser using Duda's API. You have the flexibility to manage the template list however it best fits your workflow—such as selectively displaying only certain templates to your users.

Visit our
Github repository to see a code example.