REST API - Obtain the template name/id from/for a given page

I’m using the REST API for Confluence Cloud and I’m trying to obtain the details about the template that a given page was based on. Basically, I’d like to determine what template a given page was created from. Starting with the docid for the page I’d like to drill down into the page’s metadata and obtain the template name/id.

I’ve tried the getContentById ( GET /wiki/rest/api/content/{id} ) API but I don’t see any way to obtain the template details?

Is this even possible?

Thanks in advance.

1 Like

We also need this capability, @sal.carceller did you find any solution?