SnozeDevelopers
API referenceDatabase templates

List the record templates of a database

Returns the database's record templates ordered by label, including their prefilled field data, linked content surface, and which one is the default for new records. Requires `databases:read` on the database.

GET
/v1/workspaces/{workspaceId}/databases/{databaseId}/record-templates
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
databaseId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/databases/string/record-templates"
{  "data": [    {      "id": "string",      "workspaceId": "string",      "databaseId": "string",      "label": "string",      "description": "string",      "data": {},      "contentSurfaceId": "string",      "isDefault": true,      "createdAt": "string",      "updatedAt": "string"    }  ]}