Skip to main content

Blog

Writing blog

info
  • URL/third-part/blog/v2
  • MethodPOST

Request

  • Authorization: API Key

    Add parameter in header X-LP-TOKEN

    Example:

    X-LP-TOKEN: 2f68dbbf-519d-4f01-9636-e2421b68f379

  • Body Params

    • site_id : string | required
      • Site ID
    • is_publish : boolean | optional | Default Value: false
      • Whether to publish
    • author_id : string | optional
      • author id
    • version : string | optional | Default Value: 2
      • Blog Engine Version. It is recommended to set it to latest
      • Support Value : 2 , 3 , 4 , 5 , latest
    • config : object | required
      • Configuration options
      • Internal parameters:
        • sitemap : string | optional
          • If you fill in the sitemap, QuickCreator will find links to 1-5 related articles and add them to the end of the article.
        • is_start_external_hyperlink : boolean | optional | Default Value: true
          • Whether to automatically add external links in the article
        • is_start_internal_hyperlink : boolean | optional | Default Value: true
          • Whether to automatically add internal links in the article
        • internal_hyperlink_domain : string | optional
          • Domain from which internal links are sourced.
          • Support link or domain. eg: https://quickcreator.io/blog or quickcreator.io
        • is_add_main_image : boolean | optional | Default Value: true
          • Whether to automatically add a cover image in the article
        • is_add_h2_images : boolean | optional | Default Value: true
          • Whether to automatically add 1-2 h2 section level images in the article
    • params : object | required
      • Parameters
      • Internal parameters:
        • input_type : string | required
          • Type of input text
          • Support Value
            • Keyword: Write a blog post based on the target primary keyword
            • Topic: Write a blog post based on the target Topic
            • Title: Write a blog post titled with the target Title
        • p_input : string | required
          • Corresponds to the type of input.
          • Eg: If input_type = Keyword, p_input should be the target primary keyword.
        • target_blog_word_count : string | optional
          • Around range of words for the generated article
          • Support Value : 800-1000 , 1000-2000 , 2000-3000
        • language_id : string | optional | Default Value: en
          • Language for generated article, represented by i18n code
          • Support Value : See the list below for details
        • is_add_keyword_frequency : boolean | optional | Default Value: false
          • Whether to automatically add related keywords except the primary keyword
        • is_add_evidence : boolean | optional | Default Value: true
          • Whether to automatically add real-time evidence and facts to support writing
        • additional_knowledge : string | optional
          • Additional supplementary knowledge, such as an introduction to your brand or product.
        • additional_title_prompt : string | optional
          • Additional requirements for generating the blog title(H1)
        • additional_outline_prompt : string | optional
          • Additional requirements for generating the outline
        • additional_section_prompt : string | optional
          • Additional requirements for generating the article content

Language IDLanguage
enEnglish
zh-CNChinese (Simplified)
zh-TWChinese (Traditional)
deGerman
esSpanish
frFrench
itItalian
pt-PTPortuguese (Portugal)
pt-BRPortuguese (Brazil)
nlDutch
plPolish
viVietnamese
hiHindi
idIndonesian
arArabic
ruRussian
jaJapanese
trTurkish
thThai
elGreek
daDanish
csCzech
bgBulgarian
koKorean
huHungarian
ltLithuanian
msMalay
noNorwegian
roRomanian
svSwedish
boTibetan

Example

{
"site_id": "xxxxxxxxxxxx",
"is_publish": true,
"config": {
"sitemap": "https://quickcreator.io/quthor_blog/sitemap.xml",
"is_start_external_hyperlink": true,
"is_start_internal_hyperlink": true,
"internal_hyperlink_domain": "quickcreator.io",
"is_add_main_image": true,
"is_add_h2_images": true
},
"params": {
"input_type": "Keyword",
"p_input": "best ai writing tools",
"language_id": "en",
"target_blog_word_count": "800-1000",
"is_add_evidence": true
}
}
  • Sample code
curl --location --request POST '/third-part/blog/v2' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--data-raw '{
"site_id": "xxxxxxxxxxxx",
"is_publish": true,
"config": {
"sitemap": "https://quickcreator.io/quthor_blog/sitemap.xml",
"is_start_external_hyperlink": true,
"is_start_internal_hyperlink": true,
"internal_hyperlink_domain": "quickcreator.io",
"is_add_main_image": true,
"is_add_h2_images": true
},
"params": {
"input_type": "Keyword",
"p_input": "best ai writing tools",
"language_id": "en",
"target_blog_word_count": "800-1000",
"is_add_evidence": true
}
}'

Responses

  • Status
HTTP Status CodeContent Type
200JSON
  • Example
{
"code": "200",
"body": {
"blogId": "xxdoewreo",
"jobId": "xxx230203200"
}
}

Getting Blog

info
  • URL/third-part/blog/v2/{blogId}
  • MethodGET

Request

  • Authorization: API Key

    Add parameter in header X-LP-TOKEN

    Example:

    X-LP-TOKEN: 2f68dbbf-519d-4f01-9636-e2421b68f379

  • Path Params

    NameLocationTypeRequiredDescription
    blogIdpathstringyesUnique identifier of the blog returned by the blog interface
  • Sample code

curl --location --request GET '/third-part/blog/v2/' --header 'User-Agent: Apifox/1.0.0 (https://apifox.com)'

Responses

  • Status
HTTP Status CodeContent Type
200JSON
  • Example
{
"status": "string",
"content": {
"markdown": "string",
"slug": "string",
"seo": {
"title": "string",
"description": "string",
"keywords": "string",
"feature_image": "string"
}
}
}