Skip to main content
POST
/habr/articles

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
article
string
required
Minimum string length: 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
lang
enum<string>
default:ru
Available options:
ru,
en

Response

Successful Response

id
string
required
@type
string
default:HabrArticle
lead
string | null
text
string | null
url
string | null
image
string | null
post_type
string | null
lang
string | null
complexity
string | null
format
string | null
reading_time
integer | null
is_corporative
boolean
default:false
comments_enabled
boolean
default:false
tags
string[]
published_at
string | null
author
object | null
statistics
object | null
hubs
object[]
flows
object[]