GET
/
templates
/
{key}
cURL
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Input your token

Headers

Tenant-Name
string
required

Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

Example:

"copiloteu"

Path Parameters

key
string
required

The key of the template

Response

Template by key

name
string
required

Name of the template

description
string
required

Description of the template

key
string
required

Unique key for the template

status
string
required

Status of the template.

template_sections
object[]
required

List of sections included in the template

translations
object[]
required

Available translations for the template

date_updated
string<date-time> | null

The timestamp when the template was updated.