Developer API

Programmatic access exclusively for Hatrio Hub users. You must have an active website on web.hatrio.ai to generate API keys. Use the API to automate content generation, retrieve leads, and configure outbound webhooks.

Queue an Autonomous Post Generation bash
curl -X POST https://api.hatrio.ai/api/v1/generate \
  -H "Authorization: Bearer hat_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "topic": "The Future of Autonomous Growth",
    "website_id": "312e-412e-bca5"
  }'

Direct DB Integration

The API interacts directly with your Hatrio Hub database schema. Generating an article instantly queues it in your scheduled_posts pipeline.

Outbound Event Hooks

Register webhooks in the dashboard to receive real-time JSON payloads when leads are captured or when an article finishes publishing.