Docs Technical Reference REST API

Hub's REST API is on its way

Coming soon

We're preparing the public documentation for our RESTful API, which will let you integrate Hub iAbot directly into your internal systems, ERPs, CRMs, or custom mobile applications.

What will you be able to do with the API?

  • Headless Execution: Trigger conversational flows and generations from your backend.
  • User Management: Manage accounts, permissions, and credits (wallet) for your apps' users.
  • Webhooks: Receive real-time notifications when a model finishes processing a long-running task.
  • Database Sync: Read and write to the Supabase databases associated with your projects from outside the Hub environment.

Authentication

The API will use a bearer token system generated from your Enterprise or Developer account's admin panel.

Authorization: Bearer hub_live_xxxxxxxxxxxxxxxxxxxx

Main Endpoints (Preview)

Below is an outline of the endpoints that will be available:

Method Endpoint Description
POST /v1/generations Launches a prompt against the model orchestrator.
GET /v1/generations/:id Checks the status of an asynchronous generation.
POST /v1/apps/:app_id/deploy Forces a redeploy of an application to production.

Need early access?

If your project requires immediate access to the REST API, contact us to enable Beta access on your account.

Request API access