Create Pages ​
Endpoint ​
POST /unified/knowledge-base/pages
Integrations supported
- Google Docs
- Notion
Query parameters ​
Refer Specifying query parameters in Truto APIs
The ID of the integrated account to use for the request.
62f44730-dd91-461e-bd6a-aedd9e0ad79d
The format of the response.
unified
will return the response with unified mappings applied.raw
will return the raw response from the remote API.normalized
will apply the unified mappings and return the data in a normalized format.
Defaults to unified
.
unified
raw
normalized
unified
Excludes the remote_data
attribute from the response.
Array of fields to exclude from the response.
truto_exclude_fields[]=id&truto_exclude_fields[]=name
Query parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.
remote_query[foo]=bar
Request Body ​
Refer Writing data using Unified APIsThe parent of the page
Required in
- Notion
The unique identifier for the parent page
The type of the parent
page
database
The title of the page
Required in
- Google Docs
- Notion
Any additional data that should be passed as part of the request body. This data is not transformed by Truto and is passed as is to the remote API.
Response Body ​
The unique identifier for the page
Supported in
- Notion
The title of the page
Supported in
- Notion
The description of the page
Supported in
- Notion
The type of the page
landing-pages
site-pages
blog-posts
page
database
Supported in
- Notion
The status of the page
draft
published
archived
deleted
Supported in
- Notion
The tags associated with the page
Supported in
- Notion
The parent of the page
Supported in
- Notion
The unique identifier for the parent page
The type of the parent
The space the page belongs to
The unique identifier for the space
The user who created the page
Supported in
- Notion
The unique identifier for the user
The name of the user
The emails of the user
The email of the user
Whether the email is the primary email of the user
The type of the email
work
home
other
The user who last edited the page
Supported in
- Notion
The unique identifier for the user
The name of the user
The emails of the user
The email of the user
Whether the email is the primary email of the user
The type of the email
work
home
other
The date and time the page was published
Supported in
- Notion
The urls of the page
Supported in
- Notion
The url of the page
The type of the url
view
edit
public_view
The date and time the page was created
Supported in
- Notion
The date and time the page was last updated
Supported in
- Notion
Raw data returned from the remote API call.