Content Template List Post

POST

Lists the content templates.

Request

This endpoint expects an object.
typelist of stringsOptional

Filters for content template of the provided types.

created_bylist of stringsOptional

Filters for content template created by any of these users.

cursorstringOptional

The cursor to resume iteration from. If not provided, then iteration starts from the beginning.

limitintegerOptional

The maximum number of content template to return. The default is ‘50’.

mode"after" or "before"Optional
Allowed values: afterbefore

The iteration mode to use. If “after”, then entries after the provided cursor will be returned, or if no cursor is provided, then from the beginning. If “before”, then entries before the provided cursor will be returned, or if no cursor is provided, then from the end. Entries will always be returned in the specified sort-by order.

namelist of stringsOptional

Filters for content template based on name.

sort_bylist of stringsOptional

Fields to sort the content template by and the direction to sort them.

Response

This endpoint returns an object.
content_templatelist of objects

The list of content templates.

next_cursorstringOptional

The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.

prev_cursorstringOptional

The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.