Skip to content
Documentation

Integration Guide

Learn how to integrate your ubot into your own applications and websites using our REST API.

Quick Start

Access

Your bot is accessible via a simple POST request. By default, endpoints are public and tied to your chosen username.

Endpoint URLPOST /api/chat/[username]

* CORS Enabled: Callable from any frontend.

Usage Limits

Standard accounts enjoy generous usage limits. For massive scale or custom needs, contact our enterprise team.

50REQS / HOUR

Request Format

JSON PAYLOAD
{
  "messages": [
    {
      "role": "user",
      "content": "Tell me about your GitHub projects."
    }
  ]
}

Integration Example

Sample cURL Command

curl -X POST https://ubot-chat.vercel.app/api/chat/your_username \
-H "Content-Type: application/json" \
-d {"messages": [{"role": "user", "content": "Hello"}]}

Need more power?

Contact Enterprise