List Templates
Retrieves a list of templates with optional filters for organization, language, and status.
curl --request GET \
--url https://api.{environment}.corti.app/v2/templates
{
"data": [
{
"date_updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"key": "<string>",
"status": "<string>",
"template_sections": [
{
"sort": 123,
"sections_id": {
"date_updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"alternate_names": [
"<string>"
],
"key": "<string>",
"description": "<string>",
"default_writing_style": {
"name": "<string>"
},
"section_type": "<string>",
"translations": [
{
"languages_id": "<string>",
"name": "<string>",
"description": "<string>"
}
]
}
}
],
"translations": [
{
"languages_id": "<string>",
"name": "<string>",
"description": "<string>"
}
]
}
]
}
Headers
Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.
"copiloteu"
Query Parameters
Filter templates by organization.
Filter templates by language.
Filter templates by their status.
Response
List of filtered templates
The timestamp when the template was updated.
Name of the template
Description of the template
Unique key for the template
Status of the template.
List of sections included in the template
Sort order of the section within the template
The section details
The timestamp when the section was updated.
Name of the section
Alternate names for the section
Unique key for the section
Description of the section
Default writing style for the section
Name of the writing style
Type of section
Available translations for the section
Was this page helpful?
curl --request GET \
--url https://api.{environment}.corti.app/v2/templates
{
"data": [
{
"date_updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"description": "<string>",
"key": "<string>",
"status": "<string>",
"template_sections": [
{
"sort": 123,
"sections_id": {
"date_updated": "2023-11-07T05:31:56Z",
"name": "<string>",
"alternate_names": [
"<string>"
],
"key": "<string>",
"description": "<string>",
"default_writing_style": {
"name": "<string>"
},
"section_type": "<string>",
"translations": [
{
"languages_id": "<string>",
"name": "<string>",
"description": "<string>"
}
]
}
}
],
"translations": [
{
"languages_id": "<string>",
"name": "<string>",
"description": "<string>"
}
]
}
]
}