Google_Docs

Handle Initialize Authorization

post

Handle integration initialization request.

Body
or
Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/google_docs/integrations

No content

Handle Get Integration

get

Handle get integration request.

Path parameters
user_identifierstringRequired
Responses
chevron-right
200

Successful Response

application/json
Responseany
get
/connectors/google_docs/integrations/{user_identifier}

No content

Handle Select Integration

post

Handle integration selection request.

Path parameters
user_identifierstringRequired
Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/google_docs/integrations/{user_identifier}

No content

Handle Remove Integration

delete

Handle integration removal request.

Path parameters
user_identifierstringRequired
Responses
chevron-right
200

Successful Response

application/json
Responseany
delete
/connectors/google_docs/integrations/{user_identifier}

No content

Handle User Has Integration

get

Handle user integration existence check.

Responses
chevron-right
200

Successful Response

application/json
Responseany
get
/connectors/google_docs/integration-exists
200

Successful Response

No content

Auth Schema

get

Handle authentication schema request.

Responses
chevron-right
200

Successful Response

application/json
Responseany
get
/connectors/google_docs/auth-schema
200

Successful Response

No content

Success Authorize Callback

get

Handle successful authorization callback.

Responses
chevron-right
200

Successful Response

application/json
Responseany
get
/connectors/google_docs/success-authorize-callback
200

Successful Response

No content

Get Document

post

Get a Google Doc by ID.

Args: request: The request object. http_headers: The HTTP headers.

Body

Get document request model.

response_fieldsany ofOptional

List of dot-notation field paths to include in the response. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use: Specify field paths using dot notation to include only those fields in the response. Supports nested fields (e.g., 'user.name', 'payload.headers'). When filtering lists, each item is filtered recursively. If a top-level field is specified without sub-fields, the entire value is included. If nested fields are specified, only those nested fields are included.

Example: ["id","name","status"]
string[]Optional
or
nullOptional
response_filtersany ofOptional

Filters to apply to response items. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use:

  • field_name: The field to filter on. Supports dot notation for nested fields (e.g., 'creator.age'). When filtering list items, this filters the items themselves. When using root, this filters elements within the array at the root path.
  • root: Optional path to an array of dictionaries. When set, filters the array elements at this path instead of filtering the items themselves. Use dot notation (e.g., 'payload.headers'). Important: The root path must target an array of dictionaries (the last array before filtering by field_name value), and field_name should be a field within those dictionary elements. In nested array structures, root should point to the final array of dictionaries that contain the field_name field. Otherwise no filtering will occur.
Example: [{"field_name":"status","type":"string_list","values":["open","in_progress"]}]
or
nullOptional
document_idstringRequired

ID of the document.

suggestions_view_modeany ofOptional

View mode for suggestions.

stringOptional
or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/google_docs/get_document

No content

List Documents

post

List Google Docs in Google Drive.

"Args: request: The request object. http_headers: The HTTP headers.

Body

Get document list request model.

response_fieldsany ofOptional

List of dot-notation field paths to include in the response. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use: Specify field paths using dot notation to include only those fields in the response. Supports nested fields (e.g., 'user.name', 'payload.headers'). When filtering lists, each item is filtered recursively. If a top-level field is specified without sub-fields, the entire value is included. If nested fields are specified, only those nested fields are included.

Example: ["id","name","status"]
string[]Optional
or
nullOptional
response_filtersany ofOptional

Filters to apply to response items. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use:

  • field_name: The field to filter on. Supports dot notation for nested fields (e.g., 'creator.age'). When filtering list items, this filters the items themselves. When using root, this filters elements within the array at the root path.
  • root: Optional path to an array of dictionaries. When set, filters the array elements at this path instead of filtering the items themselves. Use dot notation (e.g., 'payload.headers'). Important: The root path must target an array of dictionaries (the last array before filtering by field_name value), and field_name should be a field within those dictionary elements. In nested array structures, root should point to the final array of dictionaries that contain the field_name field. Otherwise no filtering will occur.
Example: [{"field_name":"status","type":"string_list","values":["open","in_progress"]}]
or
nullOptional
queryany ofOptional
stringOptional
or
nullOptional
page_sizeany ofOptional

Number of documents to return.

integerOptional
or
nullOptional
page_tokenany ofOptional

Token for pagination.

stringOptional
or
nullOptional
order_byany ofOptional
stringOptional
or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/google_docs/list_documents

No content

Create Document

post

Create a new Google Doc.

Args: request: The request object. http_headers: The HTTP headers.

Body

Create document request model.

response_fieldsany ofOptional

List of dot-notation field paths to include in the response. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use: Specify field paths using dot notation to include only those fields in the response. Supports nested fields (e.g., 'user.name', 'payload.headers'). When filtering lists, each item is filtered recursively. If a top-level field is specified without sub-fields, the entire value is included. If nested fields are specified, only those nested fields are included.

Example: ["id","name","status"]
string[]Optional
or
nullOptional
response_filtersany ofOptional

Filters to apply to response items. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use:

  • field_name: The field to filter on. Supports dot notation for nested fields (e.g., 'creator.age'). When filtering list items, this filters the items themselves. When using root, this filters elements within the array at the root path.
  • root: Optional path to an array of dictionaries. When set, filters the array elements at this path instead of filtering the items themselves. Use dot notation (e.g., 'payload.headers'). Important: The root path must target an array of dictionaries (the last array before filtering by field_name value), and field_name should be a field within those dictionary elements. In nested array structures, root should point to the final array of dictionaries that contain the field_name field. Otherwise no filtering will occur.
Example: [{"field_name":"status","type":"string_list","values":["open","in_progress"]}]
or
nullOptional
titlestringRequired

Title of the document.

folder_parent_idany ofOptional

ID of the parent folder. If not provided, the document will be created in the root folder.

stringOptional
or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/google_docs/create_document

No content

Update Document

post

Update a Google Doc.

Args: request: The request object. http_headers: The HTTP headers.

Body

Batch update document request model.

response_fieldsany ofOptional

List of dot-notation field paths to include in the response. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use: Specify field paths using dot notation to include only those fields in the response. Supports nested fields (e.g., 'user.name', 'payload.headers'). When filtering lists, each item is filtered recursively. If a top-level field is specified without sub-fields, the entire value is included. If nested fields are specified, only those nested fields are included.

Example: ["id","name","status"]
string[]Optional
or
nullOptional
response_filtersany ofOptional

Filters to apply to response items. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use:

  • field_name: The field to filter on. Supports dot notation for nested fields (e.g., 'creator.age'). When filtering list items, this filters the items themselves. When using root, this filters elements within the array at the root path.
  • root: Optional path to an array of dictionaries. When set, filters the array elements at this path instead of filtering the items themselves. Use dot notation (e.g., 'payload.headers'). Important: The root path must target an array of dictionaries (the last array before filtering by field_name value), and field_name should be a field within those dictionary elements. In nested array structures, root should point to the final array of dictionaries that contain the field_name field. Otherwise no filtering will occur.
Example: [{"field_name":"status","type":"string_list","values":["open","in_progress"]}]
or
nullOptional
document_idstringRequired

ID of the document.

write_controlany ofOptional
or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/google_docs/update_document

No content

Copy Content

post

Copy content from one Google Doc to another.

Args: request: The request object. http_headers: The HTTP headers.

Body

Batch content document request model.

source_document_idstringRequired

ID of the source document for copying content

start_indexany ofOptional

Start index of the content to copy

integerOptional
or
nullOptional
end_indexany ofOptional

End index of the content to copy

integerOptional
or
nullOptional
destination_document_idstringRequired

ID of the destination document for pasting content

destination_indexintegerRequired

Index in the destination document to paste the content

add_ending_page_breakany ofOptional

Whether to add a page break at the end of the pasted content

Default: false
booleanOptional
or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/google_docs/copy_content

No content

Update Document Markdown

post

Update a Google Doc with markdown content.

Args: request: The request object. http_headers: The HTTP headers.

Body

Update document request model.

response_fieldsany ofOptional

List of dot-notation field paths to include in the response. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use: Specify field paths using dot notation to include only those fields in the response. Supports nested fields (e.g., 'user.name', 'payload.headers'). When filtering lists, each item is filtered recursively. If a top-level field is specified without sub-fields, the entire value is included. If nested fields are specified, only those nested fields are included.

Example: ["id","name","status"]
string[]Optional
or
nullOptional
response_filtersany ofOptional

Filters to apply to response items. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use:

  • field_name: The field to filter on. Supports dot notation for nested fields (e.g., 'creator.age'). When filtering list items, this filters the items themselves. When using root, this filters elements within the array at the root path.
  • root: Optional path to an array of dictionaries. When set, filters the array elements at this path instead of filtering the items themselves. Use dot notation (e.g., 'payload.headers'). Important: The root path must target an array of dictionaries (the last array before filtering by field_name value), and field_name should be a field within those dictionary elements. In nested array structures, root should point to the final array of dictionaries that contain the field_name field. Otherwise no filtering will occur.
Example: [{"field_name":"status","type":"string_list","values":["open","in_progress"]}]
or
nullOptional
document_idstringRequired

ID of the document.

markdown_contentstringRequired

Markdown content in string format to update the document with.

Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/google_docs/update_document_markdown

No content

List Comments

post

List comments in a Google Doc file.

Args: request: The request object. http_headers: The HTTP headers.

Returns: The list of comments in the document.

Body

List comment request model.

response_fieldsany ofOptional

List of dot-notation field paths to include in the response. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use: Specify field paths using dot notation to include only those fields in the response. Supports nested fields (e.g., 'user.name', 'payload.headers'). When filtering lists, each item is filtered recursively. If a top-level field is specified without sub-fields, the entire value is included. If nested fields are specified, only those nested fields are included.

Example: ["id","name","status"]
string[]Optional
or
nullOptional
response_filtersany ofOptional

Filters to apply to response items. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use:

  • field_name: The field to filter on. Supports dot notation for nested fields (e.g., 'creator.age'). When filtering list items, this filters the items themselves. When using root, this filters elements within the array at the root path.
  • root: Optional path to an array of dictionaries. When set, filters the array elements at this path instead of filtering the items themselves. Use dot notation (e.g., 'payload.headers'). Important: The root path must target an array of dictionaries (the last array before filtering by field_name value), and field_name should be a field within those dictionary elements. In nested array structures, root should point to the final array of dictionaries that contain the field_name field. Otherwise no filtering will occur.
Example: [{"field_name":"status","type":"string_list","values":["open","in_progress"]}]
or
nullOptional
document_idstringRequired

ID of the document.

page_sizeany ofOptional

The maximum number of replies to return per page. Default value is 30. Minimum value is 1. Maximum value is 100.

Default: 30
integer · min: 1 · max: 100Optional
or
nullOptional
page_tokenany ofOptional

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

stringOptional
or
nullOptional
include_deletedany ofOptional

Whether to include deleted replies. Deleted replies will not include their original content.

booleanOptional
or
nullOptional
start_modified_timeany ofOptional

Filter the comments after when the last time the reply was modified (RFC 3339 date-time) example: 2022-01-01T00:00:00Z

stringOptional
or
nullOptional
end_modified_timeany ofOptional

Filter time end by the last time the reply was modified (RFC 3339 date-time) example: 2022-01-01T00:00:00Z

stringOptional
or
nullOptional
Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/google_docs/list_comments

No content

Summarize Comments

post

Summarize comments in a Google Doc file.

Args: request: The request object. http_headers: The HTTP headers.

Returns: The summary of comments in the document.

Body

Summarize comments request model.

response_fieldsany ofOptional

List of dot-notation field paths to include in the response. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use: Specify field paths using dot notation to include only those fields in the response. Supports nested fields (e.g., 'user.name', 'payload.headers'). When filtering lists, each item is filtered recursively. If a top-level field is specified without sub-fields, the entire value is included. If nested fields are specified, only those nested fields are included.

Example: ["id","name","status"]
string[]Optional
or
nullOptional
response_filtersany ofOptional

Filters to apply to response items. This is a post-processing filter that does not alter the data request nor the 3rd party response data.

How to use:

  • field_name: The field to filter on. Supports dot notation for nested fields (e.g., 'creator.age'). When filtering list items, this filters the items themselves. When using root, this filters elements within the array at the root path.
  • root: Optional path to an array of dictionaries. When set, filters the array elements at this path instead of filtering the items themselves. Use dot notation (e.g., 'payload.headers'). Important: The root path must target an array of dictionaries (the last array before filtering by field_name value), and field_name should be a field within those dictionary elements. In nested array structures, root should point to the final array of dictionaries that contain the field_name field. Otherwise no filtering will occur.
Example: [{"field_name":"status","type":"string_list","values":["open","in_progress"]}]
or
nullOptional
document_idstringRequired

ID of the document.

Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/connectors/google_docs/summarize_comments

No content

Last updated