Skip to content

Publishes a new blog post. The post will be publicly visible immediately.

POST
/api/blog

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Request Body

application/json
JSON
{
"id": 0,
"regionId": 0,
"title": "string",
"teaser": "string",
"content": "string",
"picture": "string",
"isPublished": true
}

Responses

Success

application/json
JSON
{
"id": 0,
"title": "string",
"content": "string",
"teaser": "string",
"publishedAt": "string",
"authorName": "string",
"picture": "string"
}

Playground

Authorization
Body

Samples

cURL
JavaScript
PHP
Python