Skip to main content
GET
/
documents
/
templates
/
{templateID}
/
policies
List template policies
curl --request GET \
  --url https://api.{environment}.corti.app/v2/documents/templates/{templateID}/policies/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Tenant-Name: <tenant-name>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "templateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "customerIds": [
      "<string>"
    ]
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.corti.ai/llms.txt

Use this file to discover all available pages before exploring further.

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:

"base"

Path Parameters

templateID
string<uuid>
required

Response

OK

id
string<uuid>
required

The UUID of the policy.

kind
enum<string>
required

The kind of access policy. project restricts to the owning project; customers grants access to the listed customer tenants.

Available options:
project,
customers
templateId
string<uuid>
required

The UUID of the template this policy belongs to.

createdBy
string<uuid>
required

The UUID of the user who created this policy.

createdAt
string<date-time>
required

Timestamp when the policy was created.

updatedAt
string<date-time>
required

Timestamp when the policy was last updated.

customerIds
string[] | null

Present when kind is customers. Lists the customer tenant identifiers that have access.