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