Everything you do in MY.TOWN Blogger—from WordPress app passwords to OpenAI key rotation—lives behind this workflow. Use these guides to stay on track.
Add your WP site URL + application password; we store credentials encrypted per tenant.
Save your API key in the dashboard, then hit the test endpoint to confirm connectivity.
Use the Option 2 workflow—generate drafts via /content/generate.php, share preview, then call approve.
App passwords are scoped credentials for REST APIs; they avoid storing your main WP login.
How to createGo to Users → Profile → Application Passwords, enter a label like “MY.TOWN Blogger”, and copy the generated password.
Common errorsGenerate an API key in your OpenAI account, then paste it into the tenant dashboard.
Save/testThe dashboard calls /openai/test.php to decrypt and validate the key—you must see `ok: true` before generating drafts.
RotateOverwrite the saved key anytime and rerun the test; old drafts continue to work since tokens are independent.
Generated drafts produce a preview URL (`/content/preview.php?ref=&draft=&token=`). The link honors token expiry (7 days by default).
Approve linkPOST to `/content/approve.php` with the tenant ref, draft ID, and approve token. This call publishes the WP post.
After publishApprove tokens are invalidated immediately; subsequent approve calls just return the stored WP link and ID.
If the files do not yet exist, place them under `/docs/` as part of the deployment so this page links to them.
Need help? Reach us on WhatsApp or email us your tenant ref for faster support.
WhatsApp: Message support
Email: support@app.javabeans.co.za