Developers

Quick Start

Get up and running in minutes.

1. Connect Blogger

Sign in to your Jhajha Blogger API account and head to the dashboard. Click on Connect Blogger and follow the Google OAuth flow to grant us permission to publish on your behalf.

2. Create an API Key

Once your Blogger account is connected, navigate to the API section in your dashboard. Click Generate API Key. Make sure to copy this key and store it securely, as it will only be shown once.

3. Make Your First Request

Use your preferred programming language or tool (like cURL) to make a POST request to our API endpoint. Here's a simple example using cURL:

curl -X POST https://blogjh.lovable.app/api/public/v1/posts \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Hello from the Jhajha Blogger API API",
    "html": "<p>This is my first post created via the API.</p>",
    "is_draft": false
  }'

4. Verify Your Post

Check your Blogger dashboard or the API response to see your newly created post!