Skip to content

Adds a new blog post​

POST
/api/blog

The post will be publicly visible immediately.

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