APIWorkspace
List templates
GET /templates
AuthorizationBearer <token>
ChatPRD API key from Settings → API Keys, sent as Authorization: Bearer <key>. Read-only keys carry the connector:read scope; read/write keys also carry connector:write. Requires a Pro, Team or Enterprise plan.
In: header
Scope: connector:read
Query Parameters
organizationId?string
Clerk organization ID (org_…). Scopes the request to that team workspace instead of the personal workspace.
includeSystem?string
Include ChatPRD's built-in templates. Defaults to true.
Default
"true"Value in
"true" | "false"limit?integer
Maximum number of items to return (1–100). Defaults to 50.
Default
50Range
1 <= value <= 100Response Body
curl -X GET "https://app.chatprd.ai/api/connectors/v1/templates?organizationId=string&includeSystem=true&limit=50"{
"templates": [
{
"id": 0,
"title": "string",
"description": "string",
"isSystem": true,
"isDefault": true
}
],
"count": 0
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key."
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key."
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key."
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key."
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key."
}
}