Welcome to our public API documentation.
This API supports API tokens (Application Passwords) and OAuth2 for programmatic access by AI agents. Read-only endpoints for public content do not require authentication. Below is a step-by-step guide for obtaining and using API tokens programmatically.
Include the API token in your HTTP requests using Basic Authentication. Encode your username and the API token separated by a colon (username:token) in Base64 format.
curl -X GET https://www.sodah.de/wp-json/wp/v2/posts \
-H "Authorization: Basic {base64_encoded_credentials}"
If you are using OAuth2, obtain an access token via the authorization code flow at /oauth/authorize and use the Bearer token in your requests. Make sure to request the appropriate scopes (read or write).
curl -X GET https://www.sodah.de/wp-json/wp/v2/posts