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

Body

multipart/form-data
file
string
required
options
object
required

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