GET /wiki/rest/api/template/page

Returns all content templates. Use this method to retrieve all global content templates or all content templates in a space.

Permissions required: 'View' permission for the space to view space templates and permission to access the Confluence site ('Can use' global permission) to view global templates.

Servers

Query parameters

Name Type Required Description
limit Integer No

The maximum number of templates to return per page. Note, this may be restricted by fixed system limits.

Default value: 25

spaceKey String No

The key of the space to be queried for templates. If the spaceKey is not specified, global templates will be returned.

expand[] Array No

A multi-value parameter indicating which properties of the template to expand.

  • body or body.storage returns the content of the template in storage format.
start Integer No

The starting index of the returned templates.

Default value: 0

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.