curl --request POST \
--url https://api.docswrite.com/api/export \
--header 'Content-Type: application/json' \
--data '{
"google_docs_url": "https://docs.google.com/document/d/1aBcDeFg/edit",
"title": "My Blog Post",
"slug": "my-blog-post",
"tags": "technology, wordpress, automation",
"categories": "Technology, Tutorials",
"state": "draft",
"author": "John Doe",
"date": "2024-04-01 09:00:00",
"excerpt": "This is a brief description of the post content.",
"post_type": "post",
"featured_image_url": "https://example.com/image.jpg",
"featured_image_alt_text": "Description of the featured image",
"featured_image_caption": "Image caption text",
"export_settings": {
"compress_images": true,
"demote_headings": false,
"convert_to_webp": true,
"first_image_as_featured_image": true,
"add_no_follow_to_external_links": true,
"bold_as_strong": false,
"wp_content_editor": "classic"
},
"yoast_settings": {
"yoast_focuskw": "wordpress automation",
"yoast_metadesc": "Learn how to automate WordPress publishing with Docswrite",
"yoast_title": "WordPress Automation Guide | My Site",
"yoast_canonical": "https://example.com/wordpress-automation"
},
"rankmath_settings": {
"rank_math_focus_keyword": "wordpress automation"
},
"newspack_settings": {
"newspack_article_summary": "This article covers WordPress automation techniques",
"newspack_article_summary_title": "WordPress Automation Summary",
"newspack_post_subtitle": "A comprehensive guide to automation"
}
}'