Skip to main content
POST
Create Content Editor query

Authorizations

API-KEY
string
header
required

Headers

Workspace-Id
integer

Workspace ID to create the content editor in. If not provided, uses the oldest active workspace.

Required range: x >= 1

Body

application/json
keywords
string[]
required

Keywords

Minimum array length: 1
Required string length: 1 - 700
Example:
device
enum<string>
default:mobile
Available options:
mobile,
desktop
import_content_from_url
string

URL

Pattern: http(s?)://.*
Example:

"https://surferseo.com/"

location
string
default:United States

Location; get the list of supported locations from /api/v1/locations (no auth required)

Example:

"United States"

manual_outline
boolean
default:false

false will skip the outline review step and generate the AI article using the generated outline. true will pause the generation process and allow reviewing the outline on Surfer's Content Editor page.

word_count
integer

Target word count

Required range: x >= 1
Example:

2137

write_with_ai
boolean
default:false

If true, an AI article will be generated for the Content Editor. If the organization has a registered webhook handler, successful or failed article generation will trigger a webhook event.

Response

Created

ai_article_status
enum<string> | null

Status of AI article generation

Available options:
new,
writing,
completed,
failed
Example:

"new"

id
integer

The unique identifier of the entity

Required range: x >= 1
Example:

1

Permalink hash used to share Content Editor with people

Example:

"G74SCitlYgE_N8iIYIxIS_US8yuUgsfx"

state
enum<string>
Available options:
scheduled
workspace_id
integer

Workspace ID

Example:

1