SnozeDevelopers
API referenceDatabases

Ensure a record has a content surface

Returns the page-like description surface attached to the record, creating it on the first call. Responds 201 with `created` true when it minted the surface and 200 when one already existed, so repeated calls are safe. Requires the `records:write` permission.

POST
/v1/workspaces/{workspaceId}/databases/{databaseId}/records/{recordId}/content-surface
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
recordId*string

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/workspaces/string/databases/string/records/string/content-surface"
{  "data": {    "workspaceId": "string",    "databaseId": "string",    "recordId": "string",    "surfaceId": "string",    "created": true  }}