curl --request GET \
--url https://api.{environment}.corti.app/v2/templates/{key} \
--header 'Authorization: Bearer <token>' \
--header 'Tenant-Name: <tenant-name>'
{
"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>"
}
]
}
Retrieves template by key.
curl --request GET \
--url https://api.{environment}.corti.app/v2/templates/{key} \
--header 'Authorization: Bearer <token>' \
--header 'Tenant-Name: <tenant-name>'
{
"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>"
}
]
}
Input your token
Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.
"copiloteu"
The key of the template
Template by key
The response is of type object
.
Was this page helpful?