Start Writing with our REST API

Publish your content programmatically using our powerful REST API. Use your personal API token to authenticate your requests.

1. Get your API Token

Head over to your Dashboard to find or regenerate your personal API token. Keep this token secret!

2. Authenticate and Publish

Send a POST request to the publish endpoint with your container details and API token.

curl -X POST https://api.offenquelle.tech/publish \
  -H "Content-Type: application/json" \
  -d '{
    "container_repository": "myrepo/myapp",
    "container_tag": "v1.0.0",
    "port": 8080,
    "api_token": "YOUR_API_TOKEN"
  }'

3. Publish via CLI

You can also use our official CLI tool to publish directly from your local environment or CI/CD pipeline.

offenquelle publish ./my-post.md --token $OFFENQUELLE_TOKEN