GET
/
templates
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

Tenant-Name
string

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

Example:

"copiloteu"

Query Parameters

org
string

Filter templates by organization.

lang
string

Filter templates by language.

templateStatus
string

Filter templates by their status.

Response

200
application/json
List of Templates
data
object[]

List of filtered templates