POST
/
v2
/
convert
/
google-docs
/
markdown
curl --request POST \
  --url https://api.usecloudpress.com/v2/convert/google-docs/markdown \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=<string>' \
  --form 'options={
  "autoDetectEmbeds": true,
  "convertSingleCellTableToCodeBlock": true,
  "emailAddress": "<string>"
}'
{
  "content": "<string>",
  "status": "pending",
  "title": "<string>"
}

Body

multipart/form-data
file
string
required

The JSON content of the Google Doc that must be exported. Can be retrieved via the Google Docs API.

options
object
required

The options for the conversion.

Response

200 - application/json
content
string | null

The converted content. Only available when the status is set to Completed.

status
enum<string>

The status of the content conversion. Possible values:

  • Pending - Indicates that the conversion will be performed in the background. Once completed, an email will be sent to the specified email address.
  • Completed - Indicates that the conversion was completed successfully.
Available options:
pending,
completed
title
string | null

The title of the converted document. Only available when the status is set to Completed