Content

List content templates

Changed on

List all existing content templates. Returns an array of content template objects in the content_templates attribute.

get/api/content/templates

Request

Query parameters

pageinteger
Example:1

Specifies the desired page number. Defaults to 1.

page_sizeinteger
Example:25

Specifies how many results to return per page.

sort'created_at' | 'modified_at'
Example:created_at

Specifies the name of the field you want to sort results by. Defaults to created_at.

order'asc' | 'desc'
Example:asc

Specifies the sort order as ascending (asc) or descending (desc). Defaults to asc.

Response

Returned on success, with the JSON representation of the content templates in the body of the response.

countinteger

The number of content templates in the current response. This is effectively the page size.

next_pagestring url

There might be more than one page of results for this listing. When present, use this URL to fetch the next batch of results.

okboolean required

Success.

prev_pagestring url

Link to the previous page, if available.

total_countinteger

The total number of content templates.

Changes