Request format (input)
Object properties
| Parameter | Type | Description | Example value |
|---|---|---|---|
type | string (enum) | Possible type values are:"integration", "user", or "custom" | "user" |
custom | object | If the type is "custom", include a custom object specifying the custom name"custom": { "name": <Custom Name> } | "custom": { "name": "Notion Bot" } |
"integration": name of the integration"user": name of the user who authenticated the integration (only for Public Integrations)"custom": any custom name
Response format (output)
Object properties
The response of Comment APIs like Create comment containsattachments with the following fields:
| Field | Type | Description | Example value |
|---|---|---|---|
type | string (enum) | Possible type values are:"integration", "user", or "custom" | "custom" |
resolved_name | string | The custom display name shown in a comment | "Notion Bot" |