# Google Documents and Sheets
These are a collection of endpoints that allow you to generate Google Document and Sheet Canarytokens
TIP
These endpoints are recommended to be used via your Canary Console UI. The Canary Console UI will handle all the different flows and parameters needed, making your life a lot easier.
# Generate Factory for Google Document and Sheet Canarytoken
POST /api/v1/canarytoken/factorydoc/generate
Generates a Google Document or Google Sheet Canarytoken Factory.
Required Parameters
googlesheets_factorydoc
and googledocs_factorydoc
are accepted)Optional Parameters
Response
A JSON structure with a result indicator and canarytoken information.
# Add share history to Google Document and Sheet Canarytoken Factory
POST /api/v1/canarytoken/factorydoc/sharehistory
Adds to the Google Doc or Sheet Canarytoken share history.
Required Parameters
Optional Parameters
Response
A JSON structure with a result indicator and the parent document and current document
# Auto register new Google Document and Sheet Canarytokens
POST /api/v1/canarytoken/registerdoc
Auto registers a new Google Document or Sheet to an existing Google Document or Sheet Factory.
Required Parameters
autoreg-google-docs
or autoreg-google-sheets
)Response
← Gmail Audit Trail →