Begins AI API Documentation
Welcome to the Begins AI API documentation. This guide will help you integrate powerful AI capabilities into your applications with just a few lines of code.
Quick Start
Get up and running with the Begins AI API in minutes
- Sign up for an API key
Create an account and get your API key from the dashboard.
- Set up your company profile
Add information about your company to get more relevant AI responses.
- Make your first API call
Send a request to the chat endpoint to get an AI-generated response.
Example Request
curl -X POST https://api.begins.site/v1/chat \ -H "Authorization: Bearer begins_your_api_key_here" \ -H "Content-Type: application/json" \ -d '{ "message": "Hello, can you help me with customer retention strategies?" }'
Base URL
All API requests are made to this base URL
https://api.begins.site
All endpoints are relative to this base URL. For example, the chat endpoint is available at https://api.begins.site/v1/chat
.
Available Endpoints
Overview of the main API endpoints
POST
/v1/chat
Send a message to the AI and get a response
GET
/v1/company
Get your company profile
POST
/v1/company
Create or update your company profile
GET
/v1/conversations
List or retrieve conversation history
DELETE
/v1/conversations
Delete a conversation